Lines Matching refs:ValueList
202 BitcodeReaderValueList ValueList; member in __anonecb5182a0111::BitcodeReader
341 return ValueList.getValueFwdRef(ID, Ty); in getFnValueByID()
595 : Context(Context), Buffer(Buffer), ValueList(Context), in BitcodeReader()
599 : Context(Context), Buffer(nullptr), ValueList(Context), in BitcodeReader()
638 ValueList.clear(); in freeState()
1872 if (ValueID >= ValueList.size() || !ValueList[ValueID]) in recordValue()
1874 Value *V = ValueList[ValueID]; in recordValue()
2229 LocalAsMetadata::get(ValueList.getValueFwdRef(Record[1], Ty)), in parseMetadata()
2248 ValueAsMetadata::get(ValueList.getValueFwdRef(Record[i + 1], Ty)); in parseMetadata()
2267 ValueAsMetadata::get(ValueList.getValueFwdRef(Record[1], Ty)), in parseMetadata()
2705 if (ValueID >= ValueList.size()) in parseMetadata()
2707 if (auto *GO = dyn_cast<GlobalObject>(ValueList[ValueID])) in parseMetadata()
2788 if (ValID >= ValueList.size()) { in resolveGlobalAndIndirectSymbolInits()
2792 if (Constant *C = dyn_cast_or_null<Constant>(ValueList[ValID])) in resolveGlobalAndIndirectSymbolInits()
2802 if (ValID >= ValueList.size()) { in resolveGlobalAndIndirectSymbolInits()
2805 Constant *C = dyn_cast_or_null<Constant>(ValueList[ValID]); in resolveGlobalAndIndirectSymbolInits()
2818 if (ValID >= ValueList.size()) { in resolveGlobalAndIndirectSymbolInits()
2821 if (Constant *C = dyn_cast_or_null<Constant>(ValueList[ValID])) in resolveGlobalAndIndirectSymbolInits()
2831 if (ValID >= ValueList.size()) { in resolveGlobalAndIndirectSymbolInits()
2834 if (Constant *C = dyn_cast_or_null<Constant>(ValueList[ValID])) in resolveGlobalAndIndirectSymbolInits()
2844 if (ValID >= ValueList.size()) { in resolveGlobalAndIndirectSymbolInits()
2847 if (Constant *C = dyn_cast_or_null<Constant>(ValueList[ValID])) in resolveGlobalAndIndirectSymbolInits()
2874 unsigned NextCstNo = ValueList.size(); in parseConstants()
2883 if (NextCstNo != ValueList.size()) in parseConstants()
2888 ValueList.resolveConstantForwardRefs(); in parseConstants()
2971 Elts.push_back(ValueList.getConstantFwdRef(Record[i], in parseConstants()
2977 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); in parseConstants()
2982 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); in parseConstants()
3058 Constant *LHS = ValueList.getConstantFwdRef(Record[1], CurTy); in parseConstants()
3059 Constant *RHS = ValueList.getConstantFwdRef(Record[2], CurTy); in parseConstants()
3092 Constant *Op = ValueList.getConstantFwdRef(Record[2], OpTy); in parseConstants()
3109 Elts.push_back(ValueList.getConstantFwdRef(Record[OpNum++], ElTy)); in parseConstants()
3137 if (Value *V = ValueList[Record[0]]) in parseConstants()
3141 V = ConstantExpr::getSelect(ValueList.getConstantFwdRef(Record[0], in parseConstants()
3143 ValueList.getConstantFwdRef(Record[1],CurTy), in parseConstants()
3144 ValueList.getConstantFwdRef(Record[2],CurTy)); in parseConstants()
3155 Constant *Op0 = ValueList.getConstantFwdRef(Record[1], OpTy); in parseConstants()
3161 Op1 = ValueList.getConstantFwdRef(Record[3], IdxTy); in parseConstants()
3163 Op1 = ValueList.getConstantFwdRef(Record[2], Type::getInt32Ty(Context)); in parseConstants()
3174 Constant *Op0 = ValueList.getConstantFwdRef(Record[0], OpTy); in parseConstants()
3175 Constant *Op1 = ValueList.getConstantFwdRef(Record[1], in parseConstants()
3182 Op2 = ValueList.getConstantFwdRef(Record[3], IdxTy); in parseConstants()
3184 Op2 = ValueList.getConstantFwdRef(Record[2], Type::getInt32Ty(Context)); in parseConstants()
3194 Constant *Op0 = ValueList.getConstantFwdRef(Record[0], OpTy); in parseConstants()
3195 Constant *Op1 = ValueList.getConstantFwdRef(Record[1], OpTy); in parseConstants()
3198 Constant *Op2 = ValueList.getConstantFwdRef(Record[2], ShufTy); in parseConstants()
3208 Constant *Op0 = ValueList.getConstantFwdRef(Record[1], OpTy); in parseConstants()
3209 Constant *Op1 = ValueList.getConstantFwdRef(Record[2], OpTy); in parseConstants()
3212 Constant *Op2 = ValueList.getConstantFwdRef(Record[3], ShufTy); in parseConstants()
3222 Constant *Op0 = ValueList.getConstantFwdRef(Record[1], OpTy); in parseConstants()
3223 Constant *Op1 = ValueList.getConstantFwdRef(Record[2], OpTy); in parseConstants()
3288 dyn_cast_or_null<Function>(ValueList.getConstantFwdRef(Record[1],FnTy)); in parseConstants()
3324 ValueList.assignValue(V, NextCstNo); in parseConstants()
3371 V = ValueList[ID]; in parseUseLists()
3846 ValueList.push_back(NewGV); in parseModule()
3937 ValueList.push_back(Func); in parseModule()
3999 ValueList.push_back(NewGA); in parseModule()
4006 if (Record.size() < 1 || Record[0] > ValueList.size()) in parseModule()
4008 ValueList.shrinkTo(Record[0]); in parseModule()
4370 unsigned ModuleValueListSize = ValueList.size(); in parseFunctionBody()
4375 ValueList.push_back(&I); in parseFunctionBody()
4377 unsigned NextValueNo = ValueList.size(); in parseFunctionBody()
4413 NextValueNo = ValueList.size(); in parseFunctionBody()
5613 ValueList.assignValue(I, NextValueNo++); in parseFunctionBody()
5622 if (Argument *A = dyn_cast<Argument>(ValueList.back())) { in parseFunctionBody()
5625 for (unsigned i = ModuleValueListSize, e = ValueList.size(); i != e; ++i){ in parseFunctionBody()
5626 if ((A = dyn_cast_or_null<Argument>(ValueList[i])) && !A->getParent()) { in parseFunctionBody()
5640 ValueList.shrinkTo(ModuleValueListSize); in parseFunctionBody()