Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/
H A DUtility.cpp82 Entry->setSection((SectionName + "$OE").str()); in emitOffloadingEntry()
84 Entry->setSection(SectionName); in emitOffloadingEntry()
116 DummyEntry->setSection(SectionName); in getOffloadEntryArray()
123 EntriesB->setSection((SectionName + "$OA").str()); in getOffloadEntryArray()
124 EntriesE->setSection((SectionName + "$OZ").str()); in getOffloadEntryArray()
H A DOffloadWrapper.cpp133 Image->setSection(Relocatable ? ".llvm.offloading.relocatable" in createBinDesc()
196 Func->setSection(".text.startup"); in createUnregisterFunction()
218 Func->setSection(".text.startup"); in createRegisterFunction()
280 Fatbin->setSection(FatbinConstantSection); in createFatbinDesc()
299 FatbinDesc->setSection(FatbinWrapperSection); in createFatbinDesc()
379 RegGlobalsFn->setSection(".text.startup"); in createRegisterGlobalsFunction()
524 CtorFunc->setSection(".text.startup"); in createRegisterFatbinFunction()
530 DtorFunc->setSection(".text.startup"); in createRegisterFatbinFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILWriterPass.cpp83 GV->setSection("DXIL"); in runOnModule()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp111 GV->setSection("llvm.metadata"); in appendToUsedList()
145 NewGV->setSection(GV->getSection()); in removeFromUsedList()
343 GV->setSection(SectionName); in embedBufferInModule()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h126 void setSection(StringRef S);
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp279 FStub->setSection(SectionName); in assureFPCallStub()
462 FStub->setSection(SectionName); in createFPFnStub()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp407 F->setSection(".wowthk$aa"); in buildExitThunk()
520 Thunk->setSection(".wowthk$aa"); in buildEntryThunk()
629 GuestExit->setSection(".wowthk$aa"); in buildGuestExitThunk()
702 GuestExit->setSection(".wowthk$aa"); in buildPatchableThunk()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1565 Data->setSection(getInstrProfSectionName(IPSK_vtab, TT.getObjectFormat())); in getOrCreateVTableProfData()
1627 Ptr->setSection(getInstrProfSectionName(IPSK, TT.getObjectFormat())); in setupProfileSection()
1793 ValuesVar->setSection( in createDataVariable()
1871 Data->setSection( in createDataVariable()
1931 VNodesVar->setSection( in emitVNodes()
1959 NamesVar->setSection( in emitNameData()
1993 VTableNamesVar->setSection( in emitVTableNames()
H A DInstrOrderFile.cpp74 OrderFileBuffer->setSection( in createOrderFileData()
H A DHWAddressSanitizer.cpp559 Note->setSection(".note.hwasan.globals"); in createHwasanCtorComdat()
583 Dummy->setSection("hwasan_globals"); in createHwasanCtorComdat()
1729 Descriptor->setSection("hwasan_globals"); in instrumentGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXContainerGlobals.cpp113 GV->setSection(SectionName); in buildContainerGlobal()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp150 setSection(Src->getSection()); in copyAttributesFrom()
267 void GlobalObject::setSection(StringRef S) { in setSection() function in GlobalObject
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp429 OutF->setSection(ColdSectionName); in extractColdRegion()
432 OutF->setSection(OrigF->getSection()); in extractColdRegion()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp1122 ObjCStrGV->setSection(sectionName<ConstantStringSection>()); in GenerateConstantString()
1346 GV->setSection(sectionName<ProtocolReferenceSection>()); in GenerateProtocolRef()
1435 GV->setSection(sectionName<ProtocolSection>()); in GenerateProtocolRef()
1496 GV->setSection(sectionName<SelectorSection>()); in GetConstantSelector()
1522 Sym->setSection((Section + SecSuffix).str()); in GetSectionBounds()
1590 InitVar->setSection(".CRT$XCLz"); in ModuleInitFunction()
1594 InitVar->setSection(".init_array"); in ModuleInitFunction()
1596 InitVar->setSection(".ctors"); in ModuleInitFunction()
1603 Cat->setSection(sectionName<CategorySection>()); in ModuleInitFunction()
1613 GV->setSection(Section); in ModuleInitFunction()
[all …]
H A DCGObjCMac.cpp1876 GV->setSection(SectionName); in finishAndCreateGlobal()
2039 GV->setSection(CGM.getLangOpts().ObjCRuntime.isNonFragile() in GenerateConstantNSString()
3063 Entry->setSection("__OBJC,__protocol,regular,no_dead_strip"); in GetOrEmitProtocol()
3082 Entry->setSection("__OBJC,__protocol,regular,no_dead_strip"); in GetOrEmitProtocolRef()
3595 GV->setSection(Section); in GenerateClass()
3661 GV->setSection("__OBJC,__meta_class,regular,no_dead_strip"); in EmitMetaClass()
4113 GV->setSection(Section); in CreateMetadataVar()
4130 GV->setSection(Section); in CreateMetadataVar()
4178 GV->setSection(Section); in CreateCStringLiteral()
6178 GV->setSection(SectionName); in AddModuleClassList()
[all …]
H A DCGCUDANV.cpp109 GV->setSection(SectionName); in makeConstantArray()
780 cast<llvm::GlobalVariable>(FatBinStr)->setSection(FatbinConstantName); in makeModuleCtorFunction()
822 FatbinWrapper->setSection(FatbinSectionName); in makeModuleCtorFunction()
H A DCodeGenModule.cpp2715 F->setSection(SA->getName()); in setNonAliasAttributes()
2732 GO->setSection(CSA->getName()); in setNonAliasAttributes()
2734 GO->setSection(SA->getName()); in setNonAliasAttributes()
2872 F->setSection(CSA->getName()); in SetFunctionAttributes()
2874 F->setSection(SA->getName()); in SetFunctionAttributes()
2985 GV->setSection("llvm.metadata"); in emitUsed()
3282 gv->setSection(AnnotationSection); in EmitGlobalAnnotations()
3296 gv->setSection(AnnotationSection); in EmitAnnotationString()
3343 GV->setSection(AnnotationSection); in EmitAnnotationArgs()
5015 GV->setSection(SA->getName()); in GetOrCreateLLVMGlobal()
[all …]
H A DCGDeclCXX.cpp451 Fn->setSection(Section); in CreateGlobalInitOrCleanUpFunction()
519 PtrArray->setSection(ISA->getSection()); in EmitPointerToInitFunc()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DJMCInstrumenter.cpp182 GV->setSection(FlagSymbolSection); in runImpl()
H A DGlobalMerge.cpp552 MergedGV->setSection(Globals[i]->getSection()); in doMerge()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXCtorDtorLowering.cpp237 GV->setSection(IsCtor ? ".init_array" + PriorityStr in createInitOrFiniGlobals()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp527 G.setSection(SecName); in insertASpaceCasts()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp1104 NewCU.setSection(Asm->getObjFileLowering().getDwarfInfoDWOSection()); in getOrCreateDwarfCompileUnit()
1107 NewCU.setSection(Asm->getObjFileLowering().getDwarfInfoSection()); in getOrCreateDwarfCompileUnit()
3357 NewCU.setSection(Asm->getObjFileLowering().getDwarfInfoSection()); in constructSkeletonCU()
3483 NewTU.setSection(Section); in addDwarfTypeUnitType()
3489 NewTU.setSection(Section); in addDwarfTypeUnitType()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVAsmPrinter.cpp141 MF->setSection(Section); in emitFunctionHeader()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h352 void setSection(Section &Parent) { this->Parent = &Parent; } in setSection() function
1462 B->setSection(DstSection);

12