Lines Matching refs:Values
176 // Models integer literals as a sequence of bits. Used to read integer values
331 /// Install names for all global values without names. Called after the global
710 const NaClBitcodeRecord::RecordVector &Values = Record.GetValues();
711 if (Values.size() == Size)
720 const NaClBitcodeRecord::RecordVector &Values = Record.GetValues();
721 if (Values.size() >= LowerLimit)
731 const NaClBitcodeRecord::RecordVector &Values = Record.GetValues();
732 if (Values.size() <= UpperLimit)
866 const NaClBitcodeRecord::RecordVector &Values = Record.GetValues();
872 uint64_t Size = Values[0];
912 switch (Values[0]) {
934 StrBuf << "Type integer record with invalid bitsize: " << Values[0];
942 Ice::Type BaseTy = Context->getSimpleTypeByID(Values[1]);
943 Ice::SizeT Size = Values[0];
990 StrBuf << "Invalid type vector record: <" << Values[0] << " x " << BaseTy
1000 if (Values[0])
1005 FuncTy->setReturnType(Context->getSimpleTypeByID(Values[1]));
1006 for (size_t i = 2, e = Values.size(); i != e; ++i) {
1010 Ice::Type ArgTy = Context->getSimpleTypeByID(Values[i]);
1145 const NaClBitcodeRecord::RecordVector &Values = Record.GetValues();
1155 SpecifiedNumberVars = Values[0];
1166 Context->extractAlignment(this, "Global variable", Values[0]);
1170 CurGlobalVar->setIsConstant(Values[1] != 0);
1182 if (Values[0] < 2) {
1186 << " compound record size invalid. Found: " << Values[0];
1190 InitializersNeeded = Values[0];
1198 Ice::VariableDeclaration::ZeroInitializer::create(Pool, Values[0]));
1207 Ice::VariableDeclaration::DataInitializer::create(Pool, Values));
1214 NaClBcIndexSize_t Index = Values[0];
1224 if (Values.size() == 2) {
1225 Offset = Values[1];
1288 const NaClBitcodeRecord::RecordVector &Values = Record.GetValues();
1289 for (size_t i = 1, e = Values.size(); i != e; ++i) {
1290 ConvertedName += static_cast<char>(Values[i]);
1319 const NaClBitcodeRecord::RecordVector &Values = Record.GetValues();
1327 setValueName(Values[0], ConvertedName);
1337 setBbName(Values[0], ConvertedName);
1468 // Note: Bitstream defines words as 32-bit values.
2168 const NaClBitcodeRecord::RecordVector &Values = Record.GetValues();
2188 uint64_t NumBbs = Values[0];
2219 Ice::Operand *Op1 = getRelativeOperand(Values[0], BaseIndex);
2220 Ice::Operand *Op2 = getRelativeOperand(Values[1], BaseIndex);
2233 if (!convertBinopOpcode(Values[2], Type1, Opcode)) {
2245 Ice::Operand *Src = getRelativeOperand(Values[0], BaseIndex);
2246 Ice::Type CastType = Context->getSimpleTypeByID(Values[1]);
2248 if (!convertCastOpToIceOp(Values[2], Src->getType(), CastType, CastKind)) {
2260 Ice::Operand *ThenVal = getRelativeOperand(Values[0], BaseIndex);
2261 Ice::Operand *ElseVal = getRelativeOperand(Values[1], BaseIndex);
2262 Ice::Operand *CondVal = getRelativeOperand(Values[2], BaseIndex);
2282 << " not allowed for values of type " << ThenType;
2304 Ice::Operand *Vec = getRelativeOperand(Values[0], BaseIndex);
2305 Ice::Operand *Index = getRelativeOperand(Values[1], BaseIndex);
2326 Ice::Operand *Vec = getRelativeOperand(Values[0], BaseIndex);
2327 Ice::Operand *Elt = getRelativeOperand(Values[1], BaseIndex);
2328 Ice::Operand *Index = getRelativeOperand(Values[2], BaseIndex);
2360 Ice::Operand *Op1 = getRelativeOperand(Values[0], BaseIndex);
2361 Ice::Operand *Op2 = getRelativeOperand(Values[1], BaseIndex);
2384 if (!convertNaClBitcICmpOpToIce(Values[2], Cond)) {
2388 << Values[2];
2396 if (!convertNaClBitcFCompOpToIce(Values[2], Cond)) {
2400 << Values[2];
2422 if (Values.empty()) {
2425 Ice::Operand *RetVal = getRelativeOperand(Values[0], BaseIndex);
2432 if (Values.size() == 1) {
2434 Ice::CfgNode *Block = getBranchBasicBlock(Values[0]);
2442 Ice::Operand *Cond = getRelativeOperand(Values[2], BaseIndex);
2451 Ice::CfgNode *ThenBlock = getBranchBasicBlock(Values[0]);
2452 Ice::CfgNode *ElseBlock = getBranchBasicBlock(Values[1]);
2472 Ice::Type CondTy = Context->getSimpleTypeByID(Values[0]);
2481 Ice::Operand *Cond = getRelativeOperand(Values[1], BaseIndex);
2491 Ice::CfgNode *DefaultLabel = getBranchBasicBlock(Values[2]);
2494 uint64_t NumCasesRaw = Values[3];
2512 if (Values[ValCaseIndex] != 1 || Values[ValCaseIndex + 1] != 1) {
2521 NaClDecodeSignRotatedValue(Values[ValCaseIndex + 2]));
2522 Ice::CfgNode *Label = getBranchBasicBlock(Values[ValCaseIndex + 3]);
2542 Ice::Type Ty = Context->getSimpleTypeByID(Values[0]);
2543 if ((Values.size() & 0x1) == 0) {
2544 // Not an odd number of values.
2547 StrBuf << "function block phi record size not valid: " << Values.size();
2558 Ice::InstPhi::create(Func.get(), Values.size() >> 1, Dest);
2559 for (size_t i = 1; i < Values.size(); i += 2) {
2561 getRelativeOperand(NaClDecodeSignRotatedValue(Values[i]), BaseIndex);
2571 Phi->addArgument(Op, getBasicBlock(Values[i + 1]));
2580 Ice::Operand *ByteCount = getRelativeOperand(Values[0], BaseIndex);
2581 uint32_t Alignment = Context->extractAlignment(this, "Alloca", Values[1]);
2599 Ice::Operand *Address = getRelativeOperand(Values[0], BaseIndex);
2600 Ice::Type Ty = Context->getSimpleTypeByID(Values[2]);
2601 uint32_t Alignment = Context->extractAlignment(this, "Load", Values[1]);
2618 Ice::Operand *Address = getRelativeOperand(Values[0], BaseIndex);
2619 Ice::Operand *Value = getRelativeOperand(Values[1], BaseIndex);
2620 uint32_t Alignment = Context->extractAlignment(this, "Store", Values[2]);
2650 uint32_t CalleeIndex = convertRelativeToAbsIndex(Values[1], BaseIndex);
2662 Ice::SizeT NumParams = Values.size() - ParamsStartIndex;
2688 ReturnType = Context->getSimpleTypeByID(Values[2]);
2698 for (Ice::SizeT Index = ParamsStartIndex; Index < Values.size(); ++Index) {
2699 Ice::Operand *Op = getRelativeOperand(Values[Index], BaseIndex);
2742 uint64_t CCInfo = Values[0];
2776 Ice::Type OpType = Context->getSimpleTypeByID(Values[1]);
2777 setOperand(Values[0], createInstVar(OpType));
2825 const NaClBitcodeRecord::RecordVector &Values = Record.GetValues();
2831 NextConstantType = Context->getSimpleTypeByID(Values[0]);
2854 NaClDecodeSignRotatedValue(Values[0]));
2876 const BitcodeInt Value(32, static_cast<uint32_t>(Values[0]));
2882 const BitcodeInt Value(64, Values[0]);
3195 const NaClBitcodeRecord::RecordVector &Values = Record.GetValues();
3201 uint64_t Version = Values[0];
3214 const Ice::FuncSigType &Signature = Context->getFuncSigTypeByID(Values[0]);
3216 if (!naclbitc::DecodeCallingConv(Values[1], CallingConv)) {
3220 << Values[1];
3225 if (!naclbitc::DecodeLinkage(Values[3], Linkage)) {
3228 StrBuf << "Function address has unknown linkage. Found " << Values[3];
3232 bool IsProto = Values[2] == 1;