Home
last modified time | relevance | path

Searched refs:setSection (Results 1 – 25 of 50) sorted by relevance

12

/llvm-project-15.0.7/llvm/unittests/IR/
H A DFunctionTest.cpp121 TEST(FunctionTest, setSection) { in TEST() argument
129 F->setSection(".text.test"); in TEST()
132 F->setSection(""); in TEST()
134 F->setSection(".text.test"); in TEST()
135 F->setSection(".text.test2"); in TEST()
/llvm-project-15.0.7/clang/tools/clang-linker-wrapper/
H A DOffloadWrapper.cpp173 DummyEntry->setSection("omp_offloading_entries"); in createBinDesc()
188 Image->setSection(".llvm.offloading"); in createBinDesc()
232 Func->setSection(".text.startup"); in createRegisterFunction()
259 Func->setSection(".text.startup"); in createUnregisterFunction()
308 Fatbin->setSection(FatbinConstantSection); in createFatbinDesc()
327 FatbinDesc->setSection(FatbinWrapperSection); in createFatbinDesc()
339 DummyEntry->setSection(IsHIP ? "hip_offloading_entries" in createFatbinDesc()
413 RegGlobalsFn->setSection(".text.startup"); in createRegisterGlobalsFunction()
525 CtorFunc->setSection(".text.startup"); in createRegisterFatbinFunction()
531 DtorFunc->setSection(".text.startup"); in createRegisterFatbinFunction()
/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceGlobalObjects.cpp23 GO.setSection(""); in reduceGOs()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp309 ASTSym->setSection("__CLANG,__clangast"); in HandleTranslationUnit()
312 ASTSym->setSection("clangast"); in HandleTranslationUnit()
314 ASTSym->setSection("__clangast"); in HandleTranslationUnit()
H A DCGObjCGNU.cpp1333 GV->setSection(sectionName<ProtocolReferenceSection>()); in GenerateProtocolRef()
1424 GV->setSection(sectionName<ProtocolSection>()); in GenerateProtocolRef()
1486 GV->setSection(sectionName<SelectorSection>()); in GetConstantSelector()
1513 Sym->setSection((Section + SecSuffix).str()); in GetSectionBounds()
1581 InitVar->setSection(".CRT$XCLz"); in ModuleInitFunction()
1585 InitVar->setSection(".init_array"); in ModuleInitFunction()
1587 InitVar->setSection(".ctors"); in ModuleInitFunction()
1594 Cat->setSection(sectionName<CategorySection>()); in ModuleInitFunction()
1604 GV->setSection(Section); in ModuleInitFunction()
1674 InitVar->setSection(".CRT$XCLb"); in ModuleInitFunction()
[all …]
H A DCGObjCMac.cpp1864 GV->setSection(SectionName); in finishAndCreateGlobal()
3593 GV->setSection(Section); in GenerateClass()
4120 GV->setSection(Section); in CreateMetadataVar()
4137 GV->setSection(Section); in CreateMetadataVar()
4185 GV->setSection(Section); in CreateCStringLiteral()
6203 GV->setSection(SectionName); in AddModuleClassList()
6433 GV->setSection("__DATA, __objc_data"); in BuildClassObject()
7489 Entry->setSection(SectionName); in EmitClassRefFromId()
7526 Entry->setSection(SectionName); in EmitSuperClassRef()
7549 Entry->setSection(SectionName); in EmitMetaClassRef()
[all …]
H A DCGCUDANV.cpp98 GV->setSection(SectionName); in makeConstantString()
760 cast<llvm::GlobalVariable>(FatBinStr)->setSection(FatbinConstantName); in makeModuleCtorFunction()
802 FatbinWrapper->setSection(FatbinSectionName); in makeModuleCtorFunction()
H A DCodeGenModule.cpp2231 GO->setSection(CSA->getName()); in setNonAliasAttributes()
2233 GO->setSection(SA->getName()); in setNonAliasAttributes()
2323 F->setSection(CSA->getName()); in SetFunctionAttributes()
2325 F->setSection(SA->getName()); in SetFunctionAttributes()
2430 GV->setSection("llvm.metadata"); in emitUsed()
2714 gv->setSection(AnnotationSection); in EmitGlobalAnnotations()
2727 gv->setSection(AnnotationSection); in EmitAnnotationString()
2774 GV->setSection(AnnotationSection); in EmitAnnotationArgs()
4315 GV->setSection(".cp.rodata"); in GetOrCreateLLVMGlobal()
5580 GV->setSection(".rodata"); in GetAddrOfConstantCFString()
[all …]
H A DCGDeclCXX.cpp434 Fn->setSection(Section); in CreateGlobalInitOrCleanUpFunction()
498 PtrArray->setSection(ISA->getSection()); in EmitPointerToInitFunc()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILWriterPass.cpp74 GV->setSection("DXIL"); in runOnModule()
/llvm-project-15.0.7/clang/tools/clang-offload-wrapper/
H A DClangOffloadWrapper.cpp225 DummyEntry->setSection("omp_offloading_entries"); in createBinDesc()
281 Func->setSection(".text.startup"); in createRegisterFunction()
307 Func->setSection(".text.startup"); in createUnregisterFunction()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DGlobalObject.h119 void setSection(StringRef S);
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp102 GV->setSection("llvm.metadata"); in appendToUsedList()
275 GV->setSection(SectionName); in embedBufferInModule()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp925 CounterPtr->setSection( in getOrCreateRegionCounters()
981 ValuesVar->setSection( in getOrCreateRegionCounters()
1045 Data->setSection(getInstrProfSectionName(IPSK_data, TT.getObjectFormat())); in getOrCreateRegionCounters()
1106 VNodesVar->setSection( in emitVNodes()
1132 NamesVar->setSection( in emitNameData()
H A DInstrOrderFile.cpp77 OrderFileBuffer->setSection( in createOrderFileData()
H A DHWAddressSanitizer.cpp510 Note->setSection(".note.hwasan.globals"); in createHwasanCtorComdat()
535 Dummy->setSection("hwasan_globals"); in createHwasanCtorComdat()
1567 Descriptor->setSection("hwasan_globals"); in instrumentGlobal()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryData.cpp88 void BinaryData::setSection(BinarySection &NewSection) { in setSection() function in BinaryData
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp278 FStub->setSection(SectionName); in assureFPCallStub()
460 FStub->setSection(SectionName); in createFPFnStub()
/llvm-project-15.0.7/llvm/lib/IR/
H A DGlobals.cpp139 setSection(Src->getSection()); in copyAttributesFrom()
248 void GlobalObject::setSection(StringRef S) { in setSection() function in GlobalObject
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryData.h175 void setSection(BinarySection &NewSection);
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp370 OutF->setSection(ColdSectionName); in extractColdRegion()
373 OutF->setSection(OrigF->getSection()); in extractColdRegion()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DJMCInstrumenter.cpp175 GV->setSection(FlagSymbolSection); in runOnModule()
H A DGlobalMerge.cpp521 MergedGV->setSection(Globals[i]->getSection()); in doMerge()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVAsmPrinter.cpp120 MF->setSection(Section); in emitFunctionHeader()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp96 GV->setSection("llvm.metadata"); in removeFromUsedList()

12