Home
last modified time | relevance | path

Searched refs:hasSection (Results 1 – 25 of 40) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp178 if (GO->hasSection()) { in getExplicitSectionGlobal()
216 if (GVar->hasSection()) { in isGlobalInSmallSection()
400 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()
457 if (Fn->hasSection()) in selectSectionForLookupTable()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h110 bool hasSection() const { in hasSection()
119 return hasSection() ? getSectionImpl() : StringRef(); in getSection()
109 bool hasSection() const { hasSection() function
H A DGlobalValue.h290 bool hasSection() const { return !getSection().empty(); } in hasSection() function
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp93 if (GV->hasSection()) in isSuitableForBSS()
245 if (GVar->hasSection()) in getKindForGlobal()
324 if (GO->hasSection()) in SectionForGlobal()
H A DTargetMachine.cpp69 if (GO->hasSection()) { in isLargeGlobalValue()
92 if (GV->hasSection()) { in isLargeGlobalValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDirectXAsmPrinter.cpp44 if (!GV->hasInitializer() || GV->hasImplicitSection() || !GV->hasSection()) in emitGlobalVariable()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRTargetObjectFile.cpp43 if (AVR::isProgramMemoryAddress(GO) && !GO->hasSection() && in SelectSectionForGlobal()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp263 assert(hasSection()); in getSectionImpl()
269 if (!hasSection() && S.empty()) in setSection()
314 if (hasSection() && getAlign()) in canIncreaseAlignment()
H A DDataLayout.cpp1019 if (GVAlignment && GV->hasSection()) in getPreferredAlign()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp110 if (GVA->hasSection()) { in IsGlobalInSmallSectionImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp77 if (GVA->hasSection()) { in isGlobalInSmallSection()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp96 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in isUnmergeableGlobal()
H A DHotColdSplitting.cpp431 if (OrigF->hasSection()) in extractColdRegion()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMergeStringPool.cpp182 if (Global.hasSection()) in collectCandidateConstants()
H A DPPCAsmPrinter.cpp2854 if (!TM.getDataSections() || GV->hasSection()) { in emitGlobalVariableHelper()
2907 if (!TM.getFunctionSections() || MF->getFunction().hasSection()) in emitFunctionEntryLabel()
2931 if (GV.hasSection() && GV.getSection() == "__llvm_prf_cnts" && in emitPGORefs()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp96 if (GV.hasSection()) in isNonRenamableLocal()
H A DFunctionComparator.cpp958 if (int Res = cmpNumbers(FnL->hasSection(), FnR->hasSection())) in compareSignature()
961 if (FnL->hasSection()) { in compareSignature()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp939 if (F.hasSection()) in getUniqueSectionForFunction()
2031 cast<GlobalVariable>(RHS)->hasInitializer() || RHS->hasSection()) in lowerRelativeReference()
2359 if ((TM.getDataSections() && !GO->hasSection()) || GO->hasCommonLinkage() || in getTargetSymbol()
2371 if (!GO->hasSection()) in getExplicitSectionGlobal()
2646 if (((TM.getFunctionSections() && !Func->hasSection()) || in getFunctionEntryPointSymbol()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerBinaryMetadata.cpp374 if (GV->hasSection()) { in pretendAtomicAccess()
H A DThreadSanitizer.cpp358 if (GV->hasSection()) { in shouldInstrumentReadWriteFromAddress()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp522 if (G.getAddressSpace() == 0 || G.hasSection()) in insertASpaceCasts()
H A DBTFDebug.cpp1410 SecName = Global.hasSection() ? Global.getSection() : ""; in processGlobals()
1594 if (F->hasSection()) { in processFuncPrototypes()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp106 if (GV.hasSection() && in isStaticInitGlobal()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOModule.cpp359 if (!v->hasSection() /* || !isTargetDarwin */) in addDefinedDataSymbol()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1194 if (GV.hasSection()) { in writeModuleInfo()
1206 if (F.hasSection()) { in writeModuleInfo()
1274 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo()
1307 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()

12