Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DGlobalObject.h103 bool hasSection() const { in hasSection() function
112 return hasSection() ? getSectionImpl() : StringRef(); in getSection()
H A DGlobalValue.h286 bool hasSection() const { return !getSection().empty(); } in hasSection() function
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp93 if (GV->hasSection()) in isSuitableForBSS()
245 if (GVar->hasSection()) in getKindForGlobal()
324 if (GO->hasSection()) in SectionForGlobal()
/openbsd/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceGlobalObjects.cpp14 static bool shouldReduceSection(GlobalObject &GO) { return GO.hasSection(); } in shouldReduceSection()
/openbsd/gnu/llvm/llvm/lib/Target/DirectX/
H A DDirectXAsmPrinter.cpp44 if (!GV->hasInitializer() || GV->hasImplicitSection() || !GV->hasSection()) in emitGlobalVariable()
/openbsd/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRTargetObjectFile.cpp43 if (AVR::isProgramMemoryAddress(GO) && !GO->hasSection() && in SelectSectionForGlobal()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DGlobals.cpp238 assert(hasSection()); in getSectionImpl()
244 if (!hasSection() && S.empty()) in setSection()
289 if (hasSection() && getAlign()) in canIncreaseAlignment()
H A DDataLayout.cpp986 if (GVAlignment && GV->hasSection()) in getPreferredAlign()
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp46 if (GVA->hasSection()) { in isGlobalInSmallSection()
H A DRISCVInstrInfo.cpp1842 if (F.hasSection()) in isFunctionSafeToOutlineFrom()
1955 F.hasSection())) in getOutliningType()
/openbsd/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp110 if (GVA->hasSection()) { in IsGlobalInSmallSectionImpl()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp183 if (MF.getFunction().hasSection() || in runOnMachineFunction()
H A DTargetLoweringObjectFileImpl.cpp947 if (F.hasSection() || F.hasFnAttribute("implicit-section-name")) in getUniqueSectionForFunction()
1999 cast<GlobalVariable>(RHS)->hasInitializer() || RHS->hasSection()) in lowerRelativeReference()
2310 if ((TM.getDataSections() && !GO->hasSection()) || GO->hasCommonLinkage() || in getTargetSymbol()
2322 if (!GO->hasSection()) in getExplicitSectionGlobal()
2591 if (((TM.getFunctionSections() && !Func->hasSection()) || in getFunctionEntryPointSymbol()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp97 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in isUnmergeableGlobal()
H A DHotColdSplitting.cpp372 if (OrigF->hasSection()) in extractColdRegion()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp96 if (GV.hasSection()) in isNonRenamableLocal()
H A DFunctionComparator.cpp852 if (int Res = cmpNumbers(FnL->hasSection(), FnR->hasSection())) in compareSignature()
855 if (FnL->hasSection()) { in compareSignature()
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DMemProfiler.cpp348 if (GV->hasSection()) { in isInterestingMemoryAccess()
H A DThreadSanitizer.cpp359 if (GV->hasSection()) { in shouldInstrumentReadWriteFromAddress()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp105 if (GV.hasSection() && in isStaticInitGlobal()
/openbsd/gnu/llvm/llvm/lib/LTO/
H A DLTOModule.cpp359 if (!v->hasSection() /* || !isTargetDarwin */) in addDefinedDataSymbol()
/openbsd/gnu/llvm/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1403 SecName = Global.hasSection() ? Global.getSection() : ""; in processGlobals()
1565 if (F->hasSection()) { in processFuncPrototypes()
/openbsd/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1206 if (GV.hasSection()) { in writeModuleInfo()
1218 if (F.hasSection()) { in writeModuleInfo()
1286 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo()
1319 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp140 return GV.hasSection() && GV.hasLocalLinkage(); in isNonRenamableLocal()

12