/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | GlobalMerge.cpp | 154 bool doMerge(SmallVectorImpl<GlobalVariable *> &Globals, Module &M, 159 bool doMerge(const SmallVectorImpl<GlobalVariable *> &Globals, 251 bool GlobalMergeImpl::doMerge(SmallVectorImpl<GlobalVariable *> &Globals, in doMerge() argument 257 Globals, [&DL](const GlobalVariable *GV1, const GlobalVariable *GV2) { in doMerge() 265 BitVector AllGlobals(Globals.size()); in doMerge() 267 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge() 290 BitVector Globals; in doMerge() member 293 UsedGlobalSet(size_t Size) : Globals(Size) {} in doMerge() 301 UsedGlobalSets.emplace_back(Globals.size()); in doMerge() 329 for (size_t GI = 0, GE = Globals.size(); GI != GE; ++GI) { in doMerge() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXContainerGlobals.cpp | 41 void addSignature(Module &M, SmallVector<GlobalValue *> &Globals); 43 SmallVector<GlobalValue *> &Globals); 66 llvm::SmallVector<GlobalValue *> Globals; in runOnModule() local 67 Globals.push_back(getFeatureFlags(M)); in runOnModule() 68 Globals.push_back(computeShaderHash(M)); in runOnModule() 69 addSignature(M, Globals); in runOnModule() 70 addPipelineStateValidationInfo(M, Globals); in runOnModule() 71 appendToCompilerUsed(M, Globals); in runOnModule() 130 SmallVector<GlobalValue *> &Globals) { in addSignature() argument 135 Globals.emplace_back(buildSignature(M, InputSig, "dx.isg1", "ISG1")); in addSignature() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Program.cpp | 64 unsigned I = Globals.size(); in createGlobalString() 71 Globals.push_back(G); in createGlobalString() 105 assert(Idx < Globals.size()); in getPtrGlobal() 106 return Pointer(Globals[Idx]->block()); in getPtrGlobal() 170 unsigned I = Globals.size(); in getOrCreateDummy() 177 Globals.push_back(G); in getOrCreateDummy() 232 unsigned I = Globals.size(); in createGlobal() 242 Globals.push_back(G); in createGlobal()
|
H A D | Program.h | 47 for (Global *G : Globals) in ~Program() 74 assert(Idx < Globals.size()); in getGlobal() 75 return Globals[Idx]->block(); in getGlobal() 205 std::vector<Global *> Globals; variable
|
H A D | Disasm.cpp | 142 OS << "Global Variables: " << Globals.size() << "\n"; in dump() 145 for (const Global *G : Globals) { in dump()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | ASTOps.cpp | 167 llvm::DenseSet<const VarDecl *> &Globals) { in insertIfGlobal() argument 170 Globals.insert(V); in insertIfGlobal() 222 insertIfGlobal(*D, Referenced.Globals); in VisitDecl() 228 insertIfGlobal(*E->getDecl(), Referenced.Globals); in VisitDeclRefExpr() 245 insertIfGlobal(*VD, Referenced.Globals); in VisitMemberExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | GSIStreamBuilder.cpp | 65 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 D | PDBFile.cpp | 257 if (!Globals) { in getPDBGlobalsStream() 269 Globals = std::move(TempGlobals); in getPDBGlobalsStream() 271 return *Globals; in getPDBGlobalsStream()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | DynamicLibrary.cpp | 121 struct Globals { struct 132 Globals &getGlobals() { in getGlobals() 133 static Globals G; in getGlobals()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/ |
H A D | RecordsSlice.h | 136 return !hasBinaryAttrs() && Globals.empty() && Classes.empty() && in empty() 190 RecordMap<GlobalRecord> Globals; variable
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | LowerTypeTests.cpp | 497 ArrayRef<GlobalTypeMember *> Globals); 515 ArrayRef<GlobalTypeMember *> Globals, 824 ArrayRef<Metadata *> TypeIds, ArrayRef<GlobalTypeMember *> Globals) { in buildBitSetsFromGlobalVariables() argument 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() 1764 ArrayRef<Metadata *> TypeIds, ArrayRef<GlobalTypeMember *> Globals, in buildBitSetsFromDisjointSet() argument 1775 for (GlobalTypeMember *GTM : Globals) { in buildBitSetsFromDisjointSet() 1803 GlobalLayoutBuilder GLB(Globals.size()); in buildBitSetsFromDisjointSet() 1809 Globals.empty() || isa<GlobalVariable>(Globals[0]->getGlobal()); in buildBitSetsFromDisjointSet() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | CodeViewDebug.h | 131 SmallVector<CVGlobalVariable, 1> Globals; member 166 SmallVector<CVGlobalVariable, 1> Globals; member 353 void emitGlobalVariableList(ArrayRef<CVGlobalVariable> Globals); 392 SmallVectorImpl<CVGlobalVariable> &Globals);
|
H A D | CodeViewDebug.cpp | 1201 emitGlobalVariableList(FI.Globals); in emitDebugInfoForFunction() 2958 emitGlobalVariableList(Block.Globals); in collectLexicalBlockInfo() 2973 SmallVectorImpl<CVGlobalVariable> &Globals) { in collectLexicalBlockInfo() 2975 collectLexicalBlockInfo(*Scope, Blocks, Locals, Globals); in collectLexicalBlockInfo() 2995 SmallVectorImpl<CVGlobalVariable> *Globals = in collectLexicalBlockInfo() 3001 if (!Locals && !Globals) in collectLexicalBlockInfo() 3029 if (Globals) in collectLexicalBlockInfo() 3030 ParentGlobals.append(Globals->begin(), Globals->end()); in collectLexicalBlockInfo() 3057 if (Globals) in endFunctionImpl() 2955 collectLexicalBlockInfo(SmallVectorImpl<LexicalScope * > & Scopes,SmallVectorImpl<LexicalBlock * > & Blocks,SmallVectorImpl<LocalVariable> & Locals,SmallVectorImpl<CVGlobalVariable> & Globals) collectLexicalBlockInfo() argument 2977 SmallVectorImpl<CVGlobalVariable> *Globals = collectLexicalBlockInfo() local 3322 emitGlobalVariableList(ArrayRef<CVGlobalVariable> Globals) emitGlobalVariableList() argument [all...] |
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/ |
H A D | RecordsSlice.cpp | 76 auto *Record = findRecord<GlobalRecord>(Name, Globals); in findGlobal() 182 auto Result = Globals.insert({Name, nullptr}); in addGlobal() 295 for (auto &G : Globals) in visit()
|
H A D | TextStubV5.cpp | 116 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 D | btxsys.S | 21 # Globals.
|
H A D | btxcsu.S | 23 # Globals.
|
H A D | btxv86.S | 21 # Globals.
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | ASTOps.h | 141 llvm::DenseSet<const VarDecl *> Globals; member
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | WasmObjectWriter.cpp | 339 void writeGlobalSection(ArrayRef<wasm::WasmGlobal> Globals); 920 void WasmObjectWriter::writeGlobalSection(ArrayRef<wasm::WasmGlobal> Globals) { in writeGlobalSection() argument 921 if (Globals.empty()) in writeGlobalSection() 927 encodeULEB128(Globals.size(), W->OS); in writeGlobalSection() 928 for (const wasm::WasmGlobal &Global : Globals) { in writeGlobalSection() 1478 SmallVector<wasm::WasmGlobal, 1> Globals; in writeOneObject() 1668 Global.Index = NumGlobalImports + Globals.size(); in writeOneObject() 1691 Globals.push_back(Global); in writeOneObject() 1936 writeGlobalSection(Globals); in writeOneObject() 1462 SmallVector<wasm::WasmGlobal, 1> Globals; writeOneObject() local
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | GSIStreamBuilder.h | 98 std::vector<codeview::CVSymbol> Globals;
|
H A D | PDBFile.h | 130 std::unique_ptr<GlobalsStream> Globals; variable
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | Wasm.h | 148 ArrayRef<wasm::WasmGlobal> globals() const { return Globals; } in globals() 286 std::vector<wasm::WasmGlobal> Globals; variable
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto/ |
H A D | llvm-lto.cpp | 389 unsigned Calls = 0, Refs = 0, Functions = 0, Alias = 0, Globals = 0; in printIndexStats() local 399 Globals++; in printIndexStats() 403 << (Alias + Globals + Functions) << " nodes (" << Functions in printIndexStats() 404 << " functions, " << Alias << " alias, " << Globals in printIndexStats()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 108 DenseSet<const GlobalVariable *> &Globals) { in DiscoverDependentGlobals() argument 110 Globals.insert(GV); in DiscoverDependentGlobals() 114 DiscoverDependentGlobals(U->getOperand(i), Globals); in DiscoverDependentGlobals() 848 SmallVector<const GlobalVariable *, 8> Globals; in emitGlobals() local 854 VisitGlobalVariableForEmission(&I, Globals, GVVisited, GVVisiting); in emitGlobals() 864 for (const GlobalVariable *GV : Globals) in emitGlobals()
|