Searched refs:Op1C (Results 1 - 8 of 8) sorted by relevance
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 686 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(I.getOperand(1))) { 687 unsigned ShAmt = Op1C->getZExtValue(); 692 APInt::getHighBitsSet(Op1C->getBitWidth(), ShAmt))) { 725 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { 726 unsigned ShAmt = Op1C->getZExtValue(); 746 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){ 765 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { 766 unsigned ShAmt = Op1C->getZExtValue(); 785 if (Op1C->getZExtValue() == DestBits-SrcBits) 792 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C [all...] |
H A D | InstCombineMulDivRem.cpp | 213 Value *Op1C = Op1; local 218 Op1C = Op0; 221 Value *Neg = dyn_castNegVal(Op1C); 223 (BO->getOperand(1) == Op1C || BO->getOperand(1) == Neg) && 231 if (Op1BO == Op1C) 243 if (Op1BO == Op1C) 1002 if (ConstantFP *Op1C = dyn_cast<ConstantFP>(Op1)) { 1009 ConstantFP *C2 = Op1C; 1040 if (Instruction *T = CvtFDivConstToReciprocal(Op0, Op1C, AllowReciprocal))
|
H A D | InstCombineCasts.cpp | 515 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(ICI->getOperand(1))) { 516 const APInt &Op1CV = Op1C->getValue(); 550 // If Op1C some other power of two, convert: 551 uint32_t BitWidth = Op1C->getType()->getBitWidth(); 905 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { 908 if ((Pred == ICmpInst::ICMP_SLT && Op1C->isZero()) || 909 (Pred == ICmpInst::ICMP_SGT && Op1C->isAllOnesValue())) { 926 ICI->isEquality() && (Op1C->isZero() || Op1C->getValue().isPowerOf2())){ 927 unsigned BitWidth = Op1C [all...] |
H A D | InstCombineAndOrXor.cpp | 1292 if (CastInst *Op1C = dyn_cast<CastInst>(Op1)) { 1294 if (Op0C->getOpcode() == Op1C->getOpcode() && // same cast kind ? 1295 SrcTy == Op1C->getOperand(0)->getType() && 1297 Value *Op0COp = Op0C->getOperand(0), *Op1COp = Op1C->getOperand(0); 1301 ShouldOptimizeCast(Op1C->getOpcode(), Op1COp, I.getType())) { 2179 CastInst *Op1C = dyn_cast<CastInst>(Op1); local 2180 if (Op1C && Op0C->getOpcode() == Op1C->getOpcode()) {// same cast kind ? 2182 if (SrcTy == Op1C->getOperand(0)->getType() && 2184 Value *Op0COp = Op0C->getOperand(0), *Op1COp = Op1C [all...] |
H A D | InstCombineCompares.cpp | 2582 if (Constant *Op1C = dyn_cast<Constant>(Op1)) { 2583 Op1 = ConstantExpr::getBitCast(Op1C, Op0->getType());
|
/freebsd-10-stable/contrib/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 1368 if (Constant *Op1C = dyn_cast<Constant>(Op1)) 1370 if (Op1C->getType()->getPrimitiveSizeInBits() < 1372 Op1C = ConstantExpr::getZExt(Op1C, MulC->getType()); 1373 if (Op1C->getType()->getPrimitiveSizeInBits() > 1375 MulC = ConstantExpr::getZExt(MulC, Op1C->getType()); 1378 Multiple = ConstantExpr::getMul(MulC, Op1C);
|
/freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 1156 if (ConstantFP *Op1C = dyn_cast<ConstantFP>(Op1)) { 1158 if (Op1C->isExactlyValue(1.0)) 1159 return Op1C; 1161 if (Op1C->isExactlyValue(2.0) &&
|
/freebsd-10-stable/contrib/llvm/lib/Target/X86/ |
H A D | X86FastISel.cpp | 969 if (const ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { 970 if (unsigned CompareImmOpc = X86ChooseCmpImmediateOpcode(VT, Op1C)) { 973 .addImm(Op1C->getSExtValue());
|
Completed in 88 milliseconds