Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/
H A DUtility.cpp61 Str->setSection(SectionName); in getOffloadingEntryInitializer()
105 Entry->setSection((SectionName + "$OE").str()); in emitOffloadingEntry()
107 Entry->setSection(SectionName); in emitOffloadingEntry()
139 DummyEntry->setSection(SectionName); in getOffloadEntryArray()
147 EntriesB->setSection((SectionName + "$OA").str()); in getOffloadEntryArray()
148 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()
392 RegGlobalsFn->setSection(".text.startup"); in createRegisterGlobalsFunction()
558 CtorFunc->setSection(".text.startup"); in createRegisterFatbinFunction()
564 DtorFunc->setSection(".text.startup"); in createRegisterFatbinFunction()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerWriter.cpp313 ASTSym->setSection("__CLANG,__clangast"); in HandleTranslationUnit()
316 ASTSym->setSection("clangast"); in HandleTranslationUnit()
318 ASTSym->setSection("__clangast"); in HandleTranslationUnit()
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.cpp1808 GV->setSection(SectionName); in finishAndCreateGlobal()
1969 GV->setSection(CGM.getLangOpts().ObjCRuntime.isNonFragile() in GenerateConstantNSString()
2975 Entry->setSection("__OBJC,__protocol,regular,no_dead_strip"); in GetOrEmitProtocol()
2994 Entry->setSection("__OBJC,__protocol,regular,no_dead_strip"); in GetOrEmitProtocolRef()
3491 GV->setSection(Section); in GenerateClass()
3558 GV->setSection("__OBJC,__meta_class,regular,no_dead_strip"); in EmitMetaClass()
4009 GV->setSection(Section); in CreateMetadataVar()
4026 GV->setSection(Section); in CreateMetadataVar()
4081 GV->setSection(Section); in CreateCStringLiteral()
6078 GV->setSection(SectionName); in AddModuleClassList()
[all …]
H A DCGCUDANV.cpp114 GV->setSection(SectionName); in makeConstantArray()
844 cast<llvm::GlobalVariable>(FatBinStr)->setSection(FatbinConstantName); in makeModuleCtorFunction()
886 FatbinWrapper->setSection(FatbinSectionName); in makeModuleCtorFunction()
H A DCodeGenModule.cpp2944 F->setSection(SA->getName()); in setNonAliasAttributes()
2962 GO->setSection(CSA->getName()); in setNonAliasAttributes()
2964 GO->setSection(SA->getName()); in setNonAliasAttributes()
3101 F->setSection(CSA->getName()); in SetFunctionAttributes()
3103 F->setSection(SA->getName()); in SetFunctionAttributes()
3214 GV->setSection("llvm.metadata"); in emitUsed()
3534 gv->setSection(AnnotationSection); in EmitGlobalAnnotations()
3548 gv->setSection(AnnotationSection); in EmitAnnotationString()
3595 GV->setSection(AnnotationSection); in EmitAnnotationArgs()
5296 GV->setSection(SA->getName()); in GetOrCreateLLVMGlobal()
[all …]
H A DCGDeclCXX.cpp446 Fn->setSection(Section); in CreateGlobalInitOrCleanUpFunction()
523 PtrArray->setSection(ISA->getSection()); in EmitPointerToInitFunc()
/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.cpp155 GV->setSection("llvm.metadata"); in appendToUsedList()
189 NewGV->setSection(GV->getSection()); in removeFromUsedList()
386 GV->setSection(SectionName); in embedBufferInModule()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h122 LLVM_ABI void setSection(StringRef S);
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp278 FStub->setSection(SectionName); in assureFPCallStub()
460 FStub->setSection(SectionName); in createFPFnStub()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp402 F->setSection(".wowthk$aa"); in buildExitThunk()
514 Thunk->setSection(".wowthk$aa"); in buildEntryThunk()
622 GuestExit->setSection(".wowthk$aa"); in buildGuestExitThunk()
691 GuestExit->setSection(".wowthk$aa"); in buildPatchableThunk()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1562 Data->setSection(getInstrProfSectionName(IPSK_vtab, TT.getObjectFormat())); in getOrCreateVTableProfData()
1624 Ptr->setSection(getInstrProfSectionName(IPSK, TT.getObjectFormat())); in setupProfileSection()
1790 ValuesVar->setSection( in createDataVariable()
1873 Data->setSection( in createDataVariable()
1933 VNodesVar->setSection( in emitVNodes()
1960 NamesVar->setSection( in emitNameData()
1994 VTableNamesVar->setSection( in emitVTableNames()
H A DHWAddressSanitizer.cpp592 Note->setSection(".note.hwasan.globals"); in createHwasanCtorComdat()
616 Dummy->setSection("hwasan_globals"); in createHwasanCtorComdat()
1750 Descriptor->setSection("hwasan_globals"); in instrumentGlobal()
H A DSanitizerCoverage.cpp509 SanCovCallbackGate->setSection( in instrumentModule()
756 Array->setSection(getSectionName(Section)); in CreateFunctionLocalArrayInSection()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DConstant.cpp292 void GlobalObject::setSection(StringRef S) { in setSection() function in llvm::sandboxir::GlobalObject
295 GenericSetter<&GlobalObject::getSection, &GlobalObject::setSection>>( in setSection()
297 cast<llvm::GlobalObject>(Val)->setSection(S); in setSection()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp158 setSection(Src->getSection()); in copyAttributesFrom()
275 void GlobalObject::setSection(StringRef S) { in setSection() function in GlobalObject
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp428 OutF->setSection(ColdSectionName); in extractColdRegion()
431 OutF->setSection(OrigF->getSection()); in extractColdRegion()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DJMCInstrumenter.cpp182 GV->setSection(FlagSymbolSection); in runImpl()
H A DGlobalMerge.cpp564 MergedGV->setSection(Globals[i]->getSection()); in doMerge()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXCtorDtorLowering.cpp205 GV->setSection(IsCtor ? ".init_array" + PriorityStr in createInitOrFiniGlobals()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXContainerGlobals.cpp123 GV->setSection(SectionName); in buildContainerGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp523 G.setSection(SecName); in insertASpaceCasts()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp1110 NewCU.setSection(Asm->getObjFileLowering().getDwarfInfoDWOSection()); in getOrCreateDwarfCompileUnit()
1113 NewCU.setSection(Asm->getObjFileLowering().getDwarfInfoSection()); in getOrCreateDwarfCompileUnit()
3806 NewCU.setSection(Asm->getObjFileLowering().getDwarfInfoSection()); in constructSkeletonCU()
3932 NewTU.setSection(Section); in addDwarfTypeUnitType()
3938 NewTU.setSection(Section); in addDwarfTypeUnitType()

12