Searched refs:Op1C (Results 1 - 8 of 8) sorted by relevance
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 182 Value *Op1C = Op1; local 187 Op1C = Op0; 190 Value *Neg = dyn_castNegVal(Op1C); 192 (BO->getOperand(1) == Op1C || BO->getOperand(1) == Neg) && 200 if (Op1BO == Op1C) 212 if (Op1BO == Op1C) 260 if (Constant *Op1C = dyn_cast<Constant>(Op1)) { 261 if (ConstantFP *Op1F = dyn_cast<ConstantFP>(Op1C)) { 266 } else if (ConstantDataVector *Op1V = dyn_cast<ConstantDataVector>(Op1C)) { 576 if (ConstantFP *Op1C [all...] |
H A D | InstCombineShifts.cpp | 689 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(I.getOperand(1))) { 690 unsigned ShAmt = Op1C->getZExtValue(); 695 APInt::getHighBitsSet(Op1C->getBitWidth(), ShAmt))) { 728 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { 729 unsigned ShAmt = Op1C->getZExtValue(); 749 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){ 768 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { 769 unsigned ShAmt = Op1C->getZExtValue(); 788 if (Op1C->getZExtValue() == DestBits-SrcBits) 795 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C [all...] |
H A D | InstCombineCasts.cpp | 506 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(ICI->getOperand(1))) { 507 const APInt &Op1CV = Op1C->getValue(); 541 // If Op1C some other power of two, convert: 542 uint32_t BitWidth = Op1C->getType()->getBitWidth(); 886 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { 889 if ((Pred == ICmpInst::ICMP_SLT && Op1C->isZero()) || 890 (Pred == ICmpInst::ICMP_SGT && Op1C->isAllOnesValue())) { 907 ICI->isEquality() && (Op1C->isZero() || Op1C->getValue().isPowerOf2())){ 908 unsigned BitWidth = Op1C [all...] |
H A D | InstCombineAndOrXor.cpp | 1211 if (CastInst *Op1C = dyn_cast<CastInst>(Op1)) { 1213 if (Op0C->getOpcode() == Op1C->getOpcode() && // same cast kind ? 1214 SrcTy == Op1C->getOperand(0)->getType() && 1216 Value *Op0COp = Op0C->getOperand(0), *Op1COp = Op1C->getOperand(0); 1220 ShouldOptimizeCast(Op1C->getOpcode(), Op1COp, I.getType())) { 1987 CastInst *Op1C = dyn_cast<CastInst>(Op1); local 1988 if (Op1C && Op0C->getOpcode() == Op1C->getOpcode()) {// same cast kind ? 1990 if (SrcTy == Op1C->getOperand(0)->getType() && 1992 Value *Op0COp = Op0C->getOperand(0), *Op1COp = Op1C [all...] |
H A D | InstCombineCompares.cpp | 2297 if (Constant *Op1C = dyn_cast<Constant>(Op1)) { 2298 Op1 = ConstantExpr::getBitCast(Op1C, Op0->getType());
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/ |
H A D | ValueTracking.cpp | 1241 if (Constant *Op1C = dyn_cast<Constant>(Op1)) 1243 if (Op1C->getType()->getPrimitiveSizeInBits() < 1245 Op1C = ConstantExpr::getZExt(Op1C, MulC->getType()); 1246 if (Op1C->getType()->getPrimitiveSizeInBits() > 1248 MulC = ConstantExpr::getZExt(MulC, Op1C->getType()); 1251 Multiple = ConstantExpr::getMul(MulC, Op1C);
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Scalar/ |
H A D | SimplifyLibCalls.cpp | 983 if (ConstantFP *Op1C = dyn_cast<ConstantFP>(Op1)) { 984 if (Op1C->isExactlyValue(1.0)) // pow(1.0, x) -> 1.0 985 return Op1C; 986 if (Op1C->isExactlyValue(2.0)) // pow(2.0, x) -> exp2(x)
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/X86/ |
H A D | X86FastISel.cpp | 903 if (const ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { 904 if (unsigned CompareImmOpc = X86ChooseCmpImmediateOpcode(VT, Op1C)) { 907 .addImm(Op1C->getSExtValue());
|
Completed in 190 milliseconds