Home
last modified time | relevance | path

Searched refs:ValID (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.h43 struct ValID { struct
68 ValID() : Kind(t_LocalID), APFloatVal(0.0) {} in ValID() argument
69 ~ValID() { in ~ValID() argument
74 bool operator<(const ValID &RHS) const {
123 std::map<ValID, std::vector<std::pair<ValID, GlobalValue*> > >
275 bool ConvertValIDToValue(Type *Ty, ValID &ID, Value *&V,
315 bool ParseValID(ValID &ID, PerFunctionState *PFS = NULL);
319 bool ParseMetadataListValue(ValID &ID, PerFunctionState *PFS);
320 bool ParseMetadataValue(ValID &ID, PerFunctionState *PFS);
376 std::vector<std::pair<ValID, GlobalValue*> > &Refs,
DLLParser.cpp74 const ValID &Fn = ForwardRefBlockAddresses.begin()->first; in ValidateEndOfModule()
75 if (Fn.Kind == ValID::t_GlobalName) in ValidateEndOfModule()
132 std::vector<std::pair<ValID, GlobalValue*> > &Refs, in ResolveForwardRefBlockAddresses() argument
138 if (Refs[i].first.Kind == ValID::t_LocalName) in ResolveForwardRefBlockAddresses()
142 } else if (Refs[i].first.Kind == ValID::t_LocalID) { in ResolveForwardRefBlockAddresses()
595 ValID ID; in ParseAlias()
597 if (ID.Kind != ValID::t_Constant) in ParseAlias()
1086 ValID ID; in ParseInstructionMetadata()
1089 assert(ID.Kind == ValID::t_MDNode); in ParseInstructionMetadata()
1664 ValID FunctionID; in FinishFunction()
[all …]
/external/llvm/lib/AsmParser/
DLLParser.cpp737 ValID ID; in parseIndirectSymbol()
740 if (ID.Kind != ValID::t_Constant) in parseIndirectSymbol()
2681 bool LLParser::ParseValID(ValID &ID, PerFunctionState *PFS) { in ParseValID()
2687 ID.Kind = ValID::t_GlobalID; in ParseValID()
2691 ID.Kind = ValID::t_GlobalName; in ParseValID()
2695 ID.Kind = ValID::t_LocalID; in ParseValID()
2699 ID.Kind = ValID::t_LocalName; in ParseValID()
2703 ID.Kind = ValID::t_APSInt; in ParseValID()
2707 ID.Kind = ValID::t_APFloat; in ParseValID()
2711 ID.Kind = ValID::t_Constant; in ParseValID()
[all …]
DLLParser.h47 struct ValID { struct
69 ValID() = default; argument
70 ValID(const ValID &RHS) in ValID() argument
77 bool operator<(const ValID &RHS) const {
131 std::map<ValID, std::map<ValID, GlobalValue *>> ForwardRefBlockAddresses;
360 bool ConvertValIDToValue(Type *Ty, ValID &ID, Value *&V,
411 bool ParseValID(ValID &ID, PerFunctionState *PFS = nullptr);
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2787 unsigned ValID = GlobalInitWorklist.back().second; in resolveGlobalAndIndirectSymbolInits() local
2788 if (ValID >= ValueList.size()) { in resolveGlobalAndIndirectSymbolInits()
2792 if (Constant *C = dyn_cast_or_null<Constant>(ValueList[ValID])) in resolveGlobalAndIndirectSymbolInits()
2801 unsigned ValID = IndirectSymbolInitWorklist.back().second; in resolveGlobalAndIndirectSymbolInits() local
2802 if (ValID >= ValueList.size()) { in resolveGlobalAndIndirectSymbolInits()
2805 Constant *C = dyn_cast_or_null<Constant>(ValueList[ValID]); in resolveGlobalAndIndirectSymbolInits()
2817 unsigned ValID = FunctionPrefixWorklist.back().second; in resolveGlobalAndIndirectSymbolInits() local
2818 if (ValID >= ValueList.size()) { in resolveGlobalAndIndirectSymbolInits()
2821 if (Constant *C = dyn_cast_or_null<Constant>(ValueList[ValID])) in resolveGlobalAndIndirectSymbolInits()
2830 unsigned ValID = FunctionPrologueWorklist.back().second; in resolveGlobalAndIndirectSymbolInits() local
[all …]
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
DBitcodeReader.cpp1169 unsigned ValID = GlobalInitWorklist.back().second; in ResolveGlobalAndAliasInits() local
1170 if (ValID >= ValueList.size()) { in ResolveGlobalAndAliasInits()
1174 if (Constant *C = dyn_cast<Constant>(ValueList[ValID])) in ResolveGlobalAndAliasInits()
1183 unsigned ValID = AliasInitWorklist.back().second; in ResolveGlobalAndAliasInits() local
1184 if (ValID >= ValueList.size()) { in ResolveGlobalAndAliasInits()
1187 if (Constant *C = dyn_cast<Constant>(ValueList[ValID])) in ResolveGlobalAndAliasInits()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp2250 unsigned ValID = VE.getValueID(V); in pushValueAndType() local
2252 Vals.push_back(InstID - ValID); in pushValueAndType()
2253 if (ValID >= InstID) { in pushValueAndType()
2281 unsigned ValID = VE.getValueID(V); in pushValue() local
2282 Vals.push_back(InstID - ValID); in pushValue()
2287 unsigned ValID = VE.getValueID(V); in pushValueSigned() local
2288 int64_t diff = ((int32_t)InstID - (int32_t)ValID); in pushValueSigned()
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
DBitcodeWriter.cpp985 unsigned ValID = VE.getValueID(V); in PushValueAndType() local
986 Vals.push_back(ValID); in PushValueAndType()
987 if (ValID >= InstID) { in PushValueAndType()