Home
last modified time | relevance | path

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

/external/llvm/lib/AsmParser/
DLLParser.h45 struct ValID { struct
70 ValID() : Kind(t_LocalID), APFloatVal(0.0) {} in ValID() argument
71 ~ValID() { in ~ValID() argument
76 bool operator<(const ValID &RHS) const {
125 std::map<ValID, std::vector<std::pair<ValID, GlobalValue*> > >
304 bool ConvertValIDToValue(Type *Ty, ValID &ID, Value *&V,
344 bool ParseValID(ValID &ID, PerFunctionState *PFS = NULL);
348 bool ParseMetadataListValue(ValID &ID, PerFunctionState *PFS);
349 bool ParseMetadataValue(ValID &ID, PerFunctionState *PFS);
405 std::vector<std::pair<ValID, GlobalValue*> > &Refs,
DLLParser.cpp132 const ValID &Fn = ForwardRefBlockAddresses.begin()->first; in ValidateEndOfModule()
133 if (Fn.Kind == ValID::t_GlobalName) in ValidateEndOfModule()
185 std::vector<std::pair<ValID, GlobalValue*> > &Refs, in ResolveForwardRefBlockAddresses() argument
191 if (Refs[i].first.Kind == ValID::t_LocalName) in ResolveForwardRefBlockAddresses()
195 } else if (Refs[i].first.Kind == ValID::t_LocalID) { in ResolveForwardRefBlockAddresses()
647 ValID ID; in ParseAlias()
649 if (ID.Kind != ValID::t_Constant) in ParseAlias()
1366 ValID ID; in ParseInstructionMetadata()
1369 assert(ID.Kind == ValID::t_MDNode); in ParseInstructionMetadata()
1952 ValID FunctionID; in FinishFunction()
[all …]
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1083 unsigned ValID = VE.getValueID(V); in PushValueAndType() local
1085 Vals.push_back(InstID - ValID); in PushValueAndType()
1086 if (ValID >= InstID) { in PushValueAndType()
1098 unsigned ValID = VE.getValueID(V); in pushValue() local
1099 Vals.push_back(InstID - ValID); in pushValue()
1105 uint64_t ValID = VE.getValueID(V); in pushValue64() local
1106 Vals.push_back(InstID - ValID); in pushValue64()
1112 unsigned ValID = VE.getValueID(V); in pushValueSigned() local
1113 int64_t diff = ((int32_t)InstID - (int32_t)ValID); in pushValueSigned()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp983 unsigned ValID = GlobalInitWorklist.back().second; in ResolveGlobalAndAliasInits() local
984 if (ValID >= ValueList.size()) { in ResolveGlobalAndAliasInits()
988 if (Constant *C = dyn_cast<Constant>(ValueList[ValID])) in ResolveGlobalAndAliasInits()
997 unsigned ValID = AliasInitWorklist.back().second; in ResolveGlobalAndAliasInits() local
998 if (ValID >= ValueList.size()) { in ResolveGlobalAndAliasInits()
1001 if (Constant *C = dyn_cast<Constant>(ValueList[ValID])) in ResolveGlobalAndAliasInits()