| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | FunctionTest.cpp | 131 EXPECT_TRUE(F->hasSection()); in TEST() 133 EXPECT_FALSE(F->hasSection()); in TEST() 137 EXPECT_TRUE(F->hasSection()); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | GlobalObject.h | 103 bool hasSection() const { in hasSection() function 112 return hasSection() ? getSectionImpl() : StringRef(); in getSection()
|
| H A D | GlobalValue.h | 272 bool hasSection() const { return !getSection().empty(); } in hasSection() function
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetObjectFile.cpp | 178 if (GO->hasSection()) { in getExplicitSectionGlobal() 216 if (GVar->hasSection()) { in isGlobalInSmallSection() 399 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal() 456 if (Fn->hasSection()) in selectSectionForLookupTable()
|
| /llvm-project-15.0.7/llvm/unittests/ObjCopy/ |
| H A D | ObjCopyTest.cpp | 151 bool hasSection(ObjectFile &File, StringRef SectionName) { in hasSection() function 347 EXPECT_TRUE(hasSection(**Obj, SectionName)); in removeSectionByPatternImpl() 365 hasSection(*static_cast<ObjectFile *>((*Result).get()), SectionName)); in removeSectionByPatternImpl()
|
| /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceGlobalObjects.cpp | 14 static bool shouldReduceSection(GlobalObject &GO) { return GO.hasSection(); } in shouldReduceSection()
|
| /llvm-project-15.0.7/llvm/lib/Target/ |
| H A D | TargetLoweringObjectFile.cpp | 93 if (GV->hasSection()) in isSuitableForBSS() 245 if (GVar->hasSection()) in getKindForGlobal() 324 if (GO->hasSection()) in SectionForGlobal()
|
| /llvm-project-15.0.7/llvm/lib/Target/AVR/ |
| H A D | AVRTargetObjectFile.cpp | 43 if (AVR::isProgramMemoryAddress(GO) && !GO->hasSection() && in SelectSectionForGlobal()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Globals.cpp | 244 assert(hasSection()); in getSectionImpl() 250 if (!hasSection() && S.empty()) in setSection() 288 if (hasSection() && getAlign()) in canIncreaseAlignment()
|
| H A D | DataLayout.cpp | 982 if (GVAlignment && GV->hasSection()) in getPreferredAlign()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetObjectFile.cpp | 46 if (GVA->hasSection()) { in isGlobalInSmallSection()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineFunctionSplitter.cpp | 102 if (MF.getFunction().hasSection() || in runOnMachineFunction()
|
| H A D | TargetLoweringObjectFileImpl.cpp | 913 if (F.hasSection() || F.hasFnAttribute("implicit-section-name")) in getUniqueSectionForFunction() 1952 cast<GlobalVariable>(RHS)->hasInitializer() || RHS->hasSection()) in lowerRelativeReference() 2263 if ((TM.getDataSections() && !GO->hasSection()) || GO->hasCommonLinkage() || in getTargetSymbol() 2275 if (!GO->hasSection()) in getExplicitSectionGlobal() 2533 if (((TM.getFunctionSections() && !Func->hasSection()) || in getFunctionEntryPointSymbol()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsTargetObjectFile.cpp | 110 if (GVA->hasSection()) { in IsGlobalInSmallSectionImpl()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | ConstantMerge.cpp | 97 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in isUnmergeableGlobal()
|
| H A D | HotColdSplitting.cpp | 372 if (OrigF->hasSection()) in extractColdRegion()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | FunctionImportUtils.cpp | 86 if (GV.hasSection()) in isNonRenamableLocal()
|
| H A D | FunctionComparator.cpp | 843 if (int Res = cmpNumbers(FnL->hasSection(), FnR->hasSection())) in compareSignature() 846 if (FnL->hasSection()) { in compareSignature()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/ |
| H A D | ExecutionUtils.cpp | 104 if (GV.hasSection() && in isStaticInitGlobal()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfiler.cpp | 406 if (GV->hasSection()) { in isInterestingMemoryAccess()
|
| H A D | ThreadSanitizer.cpp | 367 if (GV->hasSection()) { in shouldInstrumentReadWriteFromAddress()
|
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | LTOModule.cpp | 359 if (!v->hasSection() /* || !isTargetDarwin */) in addDefinedDataSymbol()
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.cpp | 1372 if (Global.hasSection()) { in processGlobals() 1543 if (F->hasSection()) { in processFuncPrototypes()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 1213 if (GV.hasSection()) { in writeModuleInfo() 1225 if (F.hasSection()) { in writeModuleInfo() 1293 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo() 1326 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 136 return GV.hasSection() && GV.hasLocalLinkage(); in isNonRenamableLocal()
|