Lines Matching refs:ConstantInt
148 unsigned X86MaterializeInt(const ConstantInt *CI, MVT VT);
664 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Val)) {
887 if (const ConstantInt *CI = dyn_cast<ConstantInt>(U->getOperand(1))) {
913 Disp += SL->getElementOffset(cast<ConstantInt>(Op)->getZExtValue());
921 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Op)) {
928 ConstantInt *CI =
929 cast<ConstantInt>(cast<AddOperator>(Op)->getOperand(1));
1358 static unsigned X86ChooseCmpImmediateOpcode(EVT VT, const ConstantInt *RHSC) {
1397 if (const ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) {
2710 unsigned Depth = cast<ConstantInt>(II->getOperand(0))->getZExtValue();
2727 if (isa<ConstantInt>(MCI->getLength())) {
2730 uint64_t Len = cast<ConstantInt>(MCI->getLength())->getZExtValue();
2882 if (isa<ConstantInt>(LHS) && !isa<ConstantInt>(RHS) &&
2910 if (const auto *CI = dyn_cast<ConstantInt>(RHS)) {
3030 if (!isa<ConstantInt>(Index))
3032 unsigned Idx = cast<ConstantInt>(Index)->getZExtValue();
3253 if (auto *CI = dyn_cast<ConstantInt>(Val)) {
3424 } else if (isa<ConstantInt>(ArgVal) || isa<ConstantPointerNull>(ArgVal)) {
3685 unsigned X86FastISel::X86MaterializeInt(const ConstantInt *CI, MVT VT) {
3853 if (const auto *CI = dyn_cast<ConstantInt>(C))