Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h104 bool hasSection() const { in hasSection() function
113 return hasSection() ? getSectionImpl() : StringRef(); in getSection()
H A DGlobalValue.h267 bool hasSection() const { return !getSection().empty(); } in hasSection() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp179 if (GO->hasSection()) { in getExplicitSectionGlobal()
217 if (GVar->hasSection()) { in isGlobalInSmallSection()
399 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()
456 if (Fn->hasSection()) in selectSectionForLookupTable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRTargetObjectFile.cpp33 if (AVR::isProgramMemoryAddress(GO) && !GO->hasSection() && Kind.isReadOnly()) in SelectSectionForGlobal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp208 assert(hasSection()); in getSectionImpl()
214 if (!hasSection() && S.empty()) in setSection()
252 if (hasSection() && getAlignment() > 0) in canIncreaseAlignment()
H A DDataLayout.cpp909 if (GVAlignment && GV->hasSection()) in getPreferredAlign()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp46 if (GVA->hasSection()) { in isGlobalInSmallSection()
H A DRISCVInstrInfo.cpp992 if (F.hasSection()) in isFunctionSafeToOutlineFrom()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp104 if (MF.getFunction().hasSection() || in runOnMachineFunction()
H A DTargetLoweringObjectFileImpl.cpp899 if (F.hasSection() || F.hasFnAttribute("implicit-section-name")) in getUniqueSectionForFunction()
1926 cast<GlobalVariable>(RHS)->hasInitializer() || RHS->hasSection()) in lowerRelativeReference()
2238 if ((TM.getDataSections() && !GO->hasSection()) || GO->hasCommonLinkage() || in getTargetSymbol()
2250 if (!GO->hasSection()) in getExplicitSectionGlobal()
2494 if (((TM.getFunctionSections() && !Func->hasSection()) || in getFunctionEntryPointSymbol()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp95 if (GV->hasSection()) in isSuitableForBSS()
319 if (GO->hasSection()) in SectionForGlobal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp110 if (GVA->hasSection()) { in IsGlobalInSmallSectionImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp81 if (GV.hasSection()) in isNonRenamableLocal()
H A DFunctionComparator.cpp837 if (int Res = cmpNumbers(FnL->hasSection(), FnR->hasSection())) in compareSignature()
840 if (FnL->hasSection()) { in compareSignature()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp97 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in isUnmergeableGlobal()
H A DHotColdSplitting.cpp384 if (OrigF->hasSection()) in extractColdRegion()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp103 if (GV.hasSection() && in isStaticInitGlobal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1144 if (Global.hasSection()) { in processGlobals()
1309 if (F->hasSection()) { in processFuncPrototypes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/LTO/
H A DLTOModule.cpp359 if (!v->hasSection() /* || !isTargetDarwin */) in addDefinedDataSymbol()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp137 return GV.hasSection() && GV.hasLocalLinkage(); in isNonRenamableLocal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp415 if (GV->hasSection()) { in shouldInstrumentReadWriteFromAddress()
H A DAddressSanitizer.cpp1927 if (G->hasSection()) { in shouldInstrumentGlobal()
2430 if (TargetTriple.isOSBinFormatMachO() && !G->hasSection() && in InstrumentGlobals()
H A DHWAddressSanitizer.cpp1579 if (GV.hasSection()) in instrumentGlobals()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1241 if (GV.hasSection()) { in writeModuleInfo()
1253 if (F.hasSection()) { in writeModuleInfo()
1345 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo()
1391 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp990 if (GVar->hasSection()) { in printModuleLevelGV()

12