Home
last modified time | relevance | path

Searched refs:Globals (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DGlobalMerge.cpp270 BitVector Globals; in doMerge() member
391 NewUGS.Globals.set(GI); in doMerge()
392 NewUGS.Globals |= UsedGlobalSets[UGSIdx].Globals; in doMerge()
417 if (UGS.Globals.count() > 1) in doMerge()
418 AllGlobals |= UGS.Globals; in doMerge()
437 PickedGlobals |= UGS.Globals; in doMerge()
441 if (UGS.Globals.count() < 2) in doMerge()
443 Changed |= doMerge(Globals, UGS.Globals, M, isConst, AddrSpace); in doMerge()
452 assert(Globals.size() > 1); in doMerge()
555 Globals[k]->eraseFromParent(); in doMerge()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXContainerGlobals.cpp55 llvm::SmallVector<GlobalValue *> Globals; in runOnModule() local
56 Globals.push_back(getShaderFlags(M)); in runOnModule()
57 Globals.push_back(computeShaderHash(M)); in runOnModule()
59 appendToCompilerUsed(M, Globals); in runOnModule()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp65 unsigned I = Globals.size(); in createGlobalString()
70 Globals.push_back(G); in createGlobalString()
101 assert(Idx < Globals.size()); in getPtrGlobal()
102 return Pointer(Globals[Idx]->block()); in getPtrGlobal()
149 unsigned I = Globals.size(); in getOrCreateDummy()
155 Globals.push_back(G); in getOrCreateDummy()
203 unsigned I = Globals.size(); in createGlobal()
209 Globals.push_back(G); in createGlobal()
H A DProgram.h48 for (Global *G : Globals) in ~Program()
74 assert(Idx < Globals.size()); in getGlobal()
75 return Globals[Idx]->block(); in getGlobal()
203 std::vector<Global *> Globals; variable
H A DDisasm.cpp72 OS << "Global Variables: " << Globals.size() << "\n"; in dump()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DGSIStreamBuilder.cpp65 MutableArrayRef<BulkPublic> Globals);
185 Records.resize(Globals.size()); in finalizeGlobalBuckets()
187 for (size_t I = 0, E = Globals.size(); I < E; ++I) { in finalizeGlobalBuckets()
188 StringRef Name = getSymbolName(Globals[I]); in finalizeGlobalBuckets()
192 SymOffset += Globals[I].length(); in finalizeGlobalBuckets()
379 Globals.push_back(Symbol); in addGlobalSymbol()
412 if (auto EC = writeRecords(Writer, Globals)) in commitSymbolRecordStream()
H A DPDBFile.cpp258 if (!Globals) { in getPDBGlobalsStream()
270 Globals = std::move(TempGlobals); in getPDBGlobalsStream()
272 return *Globals; in getPDBGlobalsStream()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDynamicLibrary.cpp121 struct Globals { struct
132 Globals &getGlobals() { in getGlobals()
133 static Globals G; in getGlobals()
/freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DRecordsSlice.h132 return !hasBinaryAttrs() && Globals.empty() && Classes.empty() && in empty()
186 RecordMap<GlobalRecord> Globals; variable
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp515 ArrayRef<GlobalTypeMember *> Globals,
836 for (GlobalTypeMember *G : Globals) { in buildBitSetsFromGlobalVariables()
876 for (unsigned I = 0; I != Globals.size(); ++I) { in buildBitSetsFromGlobalVariables()
877 GlobalVariable *GV = cast<GlobalVariable>(Globals[I]->getGlobal()); in buildBitSetsFromGlobalVariables()
1773 for (GlobalTypeMember *GTM : Globals) { in buildBitSetsFromDisjointSet()
1801 GlobalLayoutBuilder GLB(Globals.size()); in buildBitSetsFromDisjointSet()
1807 Globals.empty() || isa<GlobalVariable>(Globals[0]->getGlobal()); in buildBitSetsFromDisjointSet()
1808 std::vector<GlobalTypeMember *> OrderedGTMs(Globals.size()); in buildBitSetsFromDisjointSet()
1815 *OGTMI++ = Globals[Offset]; in buildBitSetsFromDisjointSet()
2349 std::vector<GlobalTypeMember *> Globals; in lower() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h131 SmallVector<CVGlobalVariable, 1> Globals; member
166 SmallVector<CVGlobalVariable, 1> Globals; member
353 void emitGlobalVariableList(ArrayRef<CVGlobalVariable> Globals);
392 SmallVectorImpl<CVGlobalVariable> &Globals);
H A DCodeViewDebug.cpp1201 emitGlobalVariableList(FI.Globals); in emitDebugInfoForFunction()
2958 emitGlobalVariableList(Block.Globals); in emitLexicalBlock()
2995 SmallVectorImpl<CVGlobalVariable> *Globals = in collectLexicalBlockInfo() local
3001 if (!Locals && !Globals) in collectLexicalBlockInfo()
3029 if (Globals) in collectLexicalBlockInfo()
3030 ParentGlobals.append(Globals->begin(), Globals->end()); in collectLexicalBlockInfo()
3057 if (Globals) in collectLexicalBlockInfo()
3058 Block.Globals = std::move(*Globals); in collectLexicalBlockInfo()
3063 Block.Globals); in collectLexicalBlockInfo()
3078 CurFn->Globals); in endFunctionImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DRecordsSlice.cpp69 auto *Record = findRecord<GlobalRecord>(Name, Globals); in findGlobal()
142 auto Result = Globals.insert({Name, nullptr}); in addGlobal()
258 for (auto &G : Globals) in visit()
H A DTextStubV5.cpp116 Globals, enumerator
308 TBDKey::Globals, Segment, [&Result, &SectionFlag](StringRef Name) { in collectSymbolsFromSegment()
840 std::vector<StringRef> Globals; member
847 return Weaks.empty() && Globals.empty() && TLV.empty() && in empty()
875 Assignment.Globals.emplace_back(Sym->getName()); in serializeSymbols()
899 insertNonEmptyValues(Segment, TBDKey::Globals, std::move(SymField.Globals)); in serializeSymbols()
/freebsd/stand/i386/btx/lib/
H A Dbtxsys.S21 # Globals.
H A Dbtxcsu.S23 # Globals.
H A Dbtxv86.S21 # Globals.
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DGSIStreamBuilder.h98 std::vector<codeview::CVSymbol> Globals;
H A DPDBFile.h130 std::unique_ptr<GlobalsStream> Globals; variable
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DWasmObjectWriter.cpp342 void writeGlobalSection(ArrayRef<wasm::WasmGlobal> Globals);
925 void WasmObjectWriter::writeGlobalSection(ArrayRef<wasm::WasmGlobal> Globals) { in writeGlobalSection() argument
926 if (Globals.empty()) in writeGlobalSection()
932 encodeULEB128(Globals.size(), W->OS); in writeGlobalSection()
933 for (const wasm::WasmGlobal &Global : Globals) { in writeGlobalSection()
1469 SmallVector<wasm::WasmGlobal, 1> Globals; in writeOneObject() local
1658 Global.Index = NumGlobalImports + Globals.size(); in writeOneObject()
1681 Globals.push_back(Global); in writeOneObject()
1927 writeGlobalSection(Globals); in writeOneObject()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DWasm.h144 ArrayRef<wasm::WasmGlobal> globals() const { return Globals; } in globals()
280 std::vector<wasm::WasmGlobal> Globals; variable
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp380 unsigned Calls = 0, Refs = 0, Functions = 0, Alias = 0, Globals = 0; in printIndexStats() local
390 Globals++; in printIndexStats()
394 << (Alias + Globals + Functions) << " nodes (" << Functions in printIndexStats()
395 << " functions, " << Alias << " alias, " << Globals in printIndexStats()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp106 DenseSet<const GlobalVariable *> &Globals) { in DiscoverDependentGlobals() argument
108 Globals.insert(GV); in DiscoverDependentGlobals()
112 DiscoverDependentGlobals(U->getOperand(i), Globals); in DiscoverDependentGlobals()
827 SmallVector<const GlobalVariable *, 8> Globals; in emitGlobals() local
833 VisitGlobalVariableForEmission(&I, Globals, GVVisited, GVVisiting); in emitGlobals()
843 for (unsigned i = 0, e = Globals.size(); i != e; ++i) in emitGlobals()
844 printModuleLevelGV(Globals[i], OS2, /*processDemoted=*/false, STI); in emitGlobals()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp679 wasm::WasmGlobal &Global = Globals[GlobalIndex]; in parseLinkingSectionSymtab()
1278 Globals.reserve(Count); in parseGlobalSection()
1281 Global.Index = NumImportedGlobals + Globals.size(); in parseGlobalSection()
1286 Globals.push_back(Global); in parseGlobalSection()
1383 return Index < NumImportedGlobals + Globals.size(); in isValidGlobalIndex()
1443 return Globals[Index - NumImportedGlobals]; in getDefinedGlobal()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesYAMLCompiler.cpp510 GlobalVariablesSeq Globals; member
524 IO.mapOptional("Globals", TLI.Globals); in mapTopLevelItems()
922 for (const auto &Global : TLItems.Globals) { in convertTopLevelItems()

12