Lines Matching full:opnum
2217 unsigned OpNum = 0;
2219 if (getValueTypePair(Record, OpNum, NextValueNo, LHS) ||
2220 popValue(Record, OpNum, NextValueNo, LHS->getType(), RHS) ||
2221 OpNum+1 > Record.size())
2224 int Opc = GetDecodedBinaryOpcode(Record[OpNum++], LHS->getType());
2228 if (OpNum < Record.size()) {
2233 if (Record[OpNum] & (1 << bitc::OBO_NO_SIGNED_WRAP))
2235 if (Record[OpNum] & (1 << bitc::OBO_NO_UNSIGNED_WRAP))
2241 if (Record[OpNum] & (1 << bitc::PEO_EXACT))
2245 if (0 != (Record[OpNum] & FastMathFlags::UnsafeAlgebra))
2247 if (0 != (Record[OpNum] & FastMathFlags::NoNaNs))
2249 if (0 != (Record[OpNum] & FastMathFlags::NoInfs))
2251 if (0 != (Record[OpNum] & FastMathFlags::NoSignedZeros))
2253 if (0 != (Record[OpNum] & FastMathFlags::AllowReciprocal))
2263 unsigned OpNum = 0;
2265 if (getValueTypePair(Record, OpNum, NextValueNo, Op) ||
2266 OpNum+2 != Record.size())
2269 Type *ResTy = getTypeByID(Record[OpNum]);
2270 int Opc = GetDecodedCastOpcode(Record[OpNum+1]);
2279 unsigned OpNum = 0;
2281 if (getValueTypePair(Record, OpNum, NextValueNo, BasePtr))
2285 while (OpNum != Record.size()) {
2287 if (getValueTypePair(Record, OpNum, NextValueNo, Op))
2301 unsigned OpNum = 0;
2303 if (getValueTypePair(Record, OpNum, NextValueNo, Agg))
2308 OpNum != RecSize; ++OpNum) {
2309 uint64_t Index = Record[OpNum];
2322 unsigned OpNum = 0;
2324 if (getValueTypePair(Record, OpNum, NextValueNo, Agg))
2327 if (getValueTypePair(Record, OpNum, NextValueNo, Val))
2332 OpNum != RecSize; ++OpNum) {
2333 uint64_t Index = Record[OpNum];
2347 unsigned OpNum = 0;
2349 if (getValueTypePair(Record, OpNum, NextValueNo, TrueVal) ||
2350 popValue(Record, OpNum, NextValueNo, TrueVal->getType(), FalseVal) ||
2351 popValue(Record, OpNum, NextValueNo, Type::getInt1Ty(Context), Cond))
2362 unsigned OpNum = 0;
2364 if (getValueTypePair(Record, OpNum, NextValueNo, TrueVal) ||
2365 popValue(Record, OpNum, NextValueNo, TrueVal->getType(), FalseVal) ||
2366 getValueTypePair(Record, OpNum, NextValueNo, Cond))
2387 unsigned OpNum = 0;
2389 if (getValueTypePair(Record, OpNum, NextValueNo, Vec) ||
2390 popValue(Record, OpNum, NextValueNo, Type::getInt32Ty(Context), Idx))
2398 unsigned OpNum = 0;
2400 if (getValueTypePair(Record, OpNum, NextValueNo, Vec) ||
2401 popValue(Record, OpNum, NextValueNo,
2403 popValue(Record, OpNum, NextValueNo, Type::getInt32Ty(Context), Idx))
2411 unsigned OpNum = 0;
2413 if (getValueTypePair(Record, OpNum, NextValueNo, Vec1) ||
2414 popValue(Record, OpNum, NextValueNo, Vec1->getType(), Vec2))
2417 if (getValueTypePair(Record, OpNum, NextValueNo, Mask))
2431 unsigned OpNum = 0;
2433 if (getValueTypePair(Record, OpNum, NextValueNo, LHS) ||
2434 popValue(Record, OpNum, NextValueNo, LHS->getType(), RHS) ||
2435 OpNum+1 != Record.size())
2439 I = new FCmpInst((FCmpInst::Predicate)Record[OpNum], LHS, RHS);
2441 I = new ICmpInst((ICmpInst::Predicate)Record[OpNum], LHS, RHS);
2455 unsigned OpNum = 0;
2457 if (getValueTypePair(Record, OpNum, NextValueNo, Op))
2459 if (OpNum != Record.size())
2601 unsigned OpNum = 4;
2603 if (getValueTypePair(Record, OpNum, NextValueNo, Callee))
2612 Record.size() < OpNum+FTy->getNumParams())
2616 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i, ++OpNum) {
2617 Ops.push_back(getValue(Record, OpNum, NextValueNo,
2623 if (Record.size() != OpNum)
2627 while (OpNum != Record.size()) {
2629 if (getValueTypePair(Record, OpNum, NextValueNo, Op))
2734 unsigned OpNum = 0;
2736 if (getValueTypePair(Record, OpNum, NextValueNo, Op) ||
2737 OpNum+2 != Record.size())
2740 I = new LoadInst(Op, "", Record[OpNum+1], (1 << Record[OpNum]) >> 1);
2746 unsigned OpNum = 0;
2748 if (getValueTypePair(Record, OpNum, NextValueNo, Op) ||
2749 OpNum+4 != Record.size())
2753 AtomicOrdering Ordering = GetDecodedOrdering(Record[OpNum+2]);
2757 if (Ordering != NotAtomic && Record[OpNum] == 0)
2759 SynchronizationScope SynchScope = GetDecodedSynchScope(Record[OpNum+3]);
2761 I = new LoadInst(Op, "", Record[OpNum+1], (1 << Record[OpNum]) >> 1,
2767 unsigned OpNum = 0;
2769 OpNum, NextValueNo, Ptr) ||
2770 popValue(Record, OpNum, NextValueNo,
2772 OpNum+2 != Record.size())
2775 I = new StoreInst(Val, Ptr, Record[OpNum+1], (1 << Record[OpNum]) >> 1);
2781 unsigned OpNum = 0;
2783 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr) ||
2784 popValue(Record, OpNum, NextValueNo,
2786 OpNum+4 != Record.size())
2789 AtomicOrdering Ordering = GetDecodedOrdering(Record[OpNum+2]);
2793 SynchronizationScope SynchScope = GetDecodedSynchScope(Record[OpNum+3]);
2794 if (Ordering != NotAtomic && Record[OpNum] == 0)
2797 I = new StoreInst(Val, Ptr, Record[OpNum+1], (1 << Record[OpNum]) >> 1,
2804 unsigned OpNum = 0;
2806 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr) ||
2807 popValue(Record, OpNum, NextValueNo,
2809 popValue(Record, OpNum, NextValueNo,
2811 OpNum+3 != Record.size())
2813 AtomicOrdering Ordering = GetDecodedOrdering(Record[OpNum+1]);
2816 SynchronizationScope SynchScope = GetDecodedSynchScope(Record[OpNum+2]);
2818 cast<AtomicCmpXchgInst>(I)->setVolatile(Record[OpNum]);
2824 unsigned OpNum = 0;
2826 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr) ||
2827 popValue(Record, OpNum, NextValueNo,
2829 OpNum+4 != Record.size())
2831 AtomicRMWInst::BinOp Operation = GetDecodedRMWOperation(Record[OpNum]);
2835 AtomicOrdering Ordering = GetDecodedOrdering(Record[OpNum+2]);
2838 SynchronizationScope SynchScope = GetDecodedSynchScope(Record[OpNum+3]);
2840 cast<AtomicRMWInst>(I)->setVolatile(Record[OpNum+1]);
2864 unsigned OpNum = 2;
2866 if (getValueTypePair(Record, OpNum, NextValueNo, Callee))
2872 if (!FTy || Record.size() < FTy->getNumParams()+OpNum)
2877 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i, ++OpNum) {
2879 Args.push_back(getBasicBlock(Record[OpNum]));
2881 Args.push_back(getValue(Record, OpNum, NextValueNo,
2888 if (OpNum != Record.size())
2891 while (OpNum != Record.size()) {
2893 if (getValueTypePair(Record, OpNum, NextValueNo, Op))