Lines Matching refs:ConstantInt
419 if (const auto *CI = dyn_cast<ConstantInt>(V)) {
446 getRegForValue(ConstantInt::get(V->getContext(), SIntVal));
620 if (const auto *CI = dyn_cast<ConstantInt>(I->getOperand(0)))
644 if (const auto *CI = dyn_cast<ConstantInt>(I->getOperand(1))) {
711 uint64_t Field = cast<ConstantInt>(Idx)->getZExtValue();
727 if (const auto *CI = dyn_cast<ConstantInt>(Idx)) {
785 if (const auto *C = dyn_cast<ConstantInt>(Val)) {
829 assert(isa<ConstantInt>(I->getOperand(PatchPointOpers::IDPos)) &&
831 const auto *ID = cast<ConstantInt>(I->getOperand(PatchPointOpers::IDPos));
834 assert(isa<ConstantInt>(I->getOperand(PatchPointOpers::NBytesPos)) &&
837 cast<ConstantInt>(I->getOperand(PatchPointOpers::NBytesPos));
935 assert(isa<ConstantInt>(I->getOperand(PatchPointOpers::NArgPos)) &&
938 cast<ConstantInt>(I->getOperand(PatchPointOpers::NArgPos));
967 assert(isa<ConstantInt>(I->getOperand(PatchPointOpers::IDPos)) &&
969 const auto *ID = cast<ConstantInt>(I->getOperand(PatchPointOpers::IDPos));
972 assert(isa<ConstantInt>(I->getOperand(PatchPointOpers::NBytesPos)) &&
975 cast<ConstantInt>(I->getOperand(PatchPointOpers::NBytesPos));
981 cast<ConstantInt>(C->getOperand(0))->getZExtValue();
986 cast<ConstantInt>(C->getOperand(0))->getZExtValue();
1451 } else if (const auto *CI = dyn_cast<ConstantInt>(V)) {
2061 MaterialReg = getRegForValue(ConstantInt::get(ITy, Imm));
2444 return isa<ConstantInt>(cast<AddOperator>(Add)->getOperand(1));