Home | History | Annotate | Download | only in BitReader_3_0

Lines Matching refs:OpNum

2540       unsigned OpNum = 0;
2542 if (getValueTypePair(Record, OpNum, NextValueNo, LHS) ||
2543 getValue(Record, OpNum, LHS->getType(), RHS) ||
2544 OpNum+1 > Record.size())
2547 int Opc = GetDecodedBinaryOpcode(Record[OpNum++], LHS->getType());
2552 if (OpNum < Record.size()) {
2557 if (Record[OpNum] & (1 << bitc::OBO_NO_SIGNED_WRAP))
2559 if (Record[OpNum] & (1 << bitc::OBO_NO_UNSIGNED_WRAP))
2565 if (Record[OpNum] & (1 << bitc::PEO_EXACT))
2572 unsigned OpNum = 0;
2574 if (getValueTypePair(Record, OpNum, NextValueNo, Op) ||
2575 OpNum+2 != Record.size())
2578 Type *ResTy = getTypeByID(Record[OpNum]);
2579 int Opc = GetDecodedCastOpcode(Record[OpNum+1]);
2588 unsigned OpNum = 0;
2590 if (getValueTypePair(Record, OpNum, NextValueNo, BasePtr))
2594 while (OpNum != Record.size()) {
2596 if (getValueTypePair(Record, OpNum, NextValueNo, Op))
2610 unsigned OpNum = 0;
2612 if (getValueTypePair(Record, OpNum, NextValueNo, Agg))
2617 OpNum != RecSize; ++OpNum) {
2618 uint64_t Index = Record[OpNum];
2631 unsigned OpNum = 0;
2633 if (getValueTypePair(Record, OpNum, NextValueNo, Agg))
2636 if (getValueTypePair(Record, OpNum, NextValueNo, Val))
2641 OpNum != RecSize; ++OpNum) {
2642 uint64_t Index = Record[OpNum];
2656 unsigned OpNum = 0;
2658 if (getValueTypePair(Record, OpNum, NextValueNo, TrueVal) ||
2659 getValue(Record, OpNum, TrueVal->getType(), FalseVal) ||
2660 getValue(Record, OpNum, Type::getInt1Ty(Context), Cond))
2671 unsigned OpNum = 0;
2673 if (getValueTypePair(Record, OpNum, NextValueNo, TrueVal) ||
2674 getValue(Record, OpNum, TrueVal->getType(), FalseVal) ||
2675 getValueTypePair(Record, OpNum, NextValueNo, Cond))
2696 unsigned OpNum = 0;
2698 if (getValueTypePair(Record, OpNum, NextValueNo, Vec) ||
2699 getValue(Record, OpNum, Type::getInt32Ty(Context), Idx))
2707 unsigned OpNum = 0;
2709 if (getValueTypePair(Record, OpNum, NextValueNo, Vec) ||
2710 getValue(Record, OpNum,
2712 getValue(Record, OpNum, Type::getInt32Ty(Context), Idx))
2720 unsigned OpNum = 0;
2722 if (getValueTypePair(Record, OpNum, NextValueNo, Vec1) ||
2723 getValue(Record, OpNum, Vec1->getType(), Vec2))
2726 if (getValueTypePair(Record, OpNum, NextValueNo, Mask))
2740 unsigned OpNum = 0;
2742 if (getValueTypePair(Record, OpNum, NextValueNo, LHS) ||
2743 getValue(Record, OpNum, LHS->getType(), RHS) ||
2744 OpNum+1 != Record.size())
2748 I = new FCmpInst((FCmpInst::Predicate)Record[OpNum], LHS, RHS);
2750 I = new ICmpInst((ICmpInst::Predicate)Record[OpNum], LHS, RHS);
2764 unsigned OpNum = 0;
2766 if (getValueTypePair(Record, OpNum, NextValueNo, Op))
2768 if (OpNum != Record.size())
2851 unsigned OpNum = 4;
2853 if (getValueTypePair(Record, OpNum, NextValueNo, Callee))
2862 Record.size() < OpNum+FTy->getNumParams())
2866 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i, ++OpNum) {
2867 Ops.push_back(getFnValueByID(Record[OpNum], FTy->getParamType(i)));
2873 if (Record.size() != OpNum)
2877 while (OpNum != Record.size()) {
2879 if (getValueTypePair(Record, OpNum, NextValueNo, Op))
2999 unsigned OpNum = 0;
3001 if (getValueTypePair(Record, OpNum, NextValueNo, Op) ||
3002 OpNum+2 != Record.size())
3005 I = new LoadInst(Op, "", Record[OpNum+1], (1 << Record[OpNum]) >> 1);
3011 unsigned OpNum = 0;
3013 if (getValueTypePair(Record, OpNum, NextValueNo, Op) ||
3014 OpNum+4 != Record.size())
3018 AtomicOrdering Ordering = GetDecodedOrdering(Record[OpNum+2]);
3022 if (Ordering != NotAtomic && Record[OpNum] == 0)
3024 SynchronizationScope SynchScope = GetDecodedSynchScope(Record[OpNum+3]);
3026 I = new LoadInst(Op, "", Record[OpNum+1], (1 << Record[OpNum]) >> 1,
3032 unsigned OpNum = 0;
3034 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr) ||
3035 getValue(Record, OpNum,
3037 OpNum+2 != Record.size())
3040 I = new StoreInst(Val, Ptr, Record[OpNum+1], (1 << Record[OpNum]) >> 1);
3046 unsigned OpNum = 0;
3048 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr) ||
3049 getValue(Record, OpNum,
3051 OpNum+4 != Record.size())
3054 AtomicOrdering Ordering = GetDecodedOrdering(Record[OpNum+2]);
3058 SynchronizationScope SynchScope = GetDecodedSynchScope(Record[OpNum+3]);
3059 if (Ordering != NotAtomic && Record[OpNum] == 0)
3062 I = new StoreInst(Val, Ptr, Record[OpNum+1], (1 << Record[OpNum]) >> 1,
3069 unsigned OpNum = 0;
3071 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr) ||
3072 getValue(Record, OpNum,
3074 getValue(Record, OpNum,
3076 OpNum+3 != Record.size())
3078 AtomicOrdering Ordering = GetDecodedOrdering(Record[OpNum+1]);
3081 SynchronizationScope SynchScope = GetDecodedSynchScope(Record[OpNum+2]);
3083 cast<AtomicCmpXchgInst>(I)->setVolatile(Record[OpNum]);
3089 unsigned OpNum = 0;
3091 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr) ||
3092 getValue(Record, OpNum,
3094 OpNum+4 != Record.size())
3096 AtomicRMWInst::BinOp Operation = GetDecodedRMWOperation(Record[OpNum]);
3100 AtomicOrdering Ordering = GetDecodedOrdering(Record[OpNum+2]);
3103 SynchronizationScope SynchScope = GetDecodedSynchScope(Record[OpNum+3]);
3105 cast<AtomicRMWInst>(I)->setVolatile(Record[OpNum+1]);
3129 unsigned OpNum = 2;
3131 if (getValueTypePair(Record, OpNum, NextValueNo, Callee))
3137 if (!FTy || Record.size() < FTy->getNumParams()+OpNum)
3142 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i, ++OpNum) {
3144 Args.push_back(getBasicBlock(Record[OpNum]));
3146 Args.push_back(getFnValueByID(Record[OpNum], FTy->getParamType(i)));
3153 if (OpNum != Record.size())
3156 while (OpNum != Record.size()) {
3158 if (getValueTypePair(Record, OpNum, NextValueNo, Op))