Searched refs:Op1C (Results 1 - 8 of 8) sorted by relevance
/freebsd-11.0-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 707 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(I.getOperand(1))) { 708 unsigned ShAmt = Op1C->getZExtValue(); 713 APInt::getHighBitsSet(Op1C->getBitWidth(), ShAmt), 750 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { 751 unsigned ShAmt = Op1C->getZExtValue(); 771 MaskedValueIsZero(Op0, APInt::getLowBitsSet(Op1C->getBitWidth(), ShAmt), 794 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { 795 unsigned ShAmt = Op1C->getZExtValue(); 809 if (Op1C->getZExtValue() == DestBits-SrcBits) 816 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C [all...] |
H A D | InstCombineCasts.cpp | 588 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(ICI->getOperand(1))) { 589 const APInt &Op1CV = Op1C->getValue(); 623 // If Op1C some other power of two, convert: 624 uint32_t BitWidth = Op1C->getType()->getBitWidth(); 975 if (Constant *Op1C = dyn_cast<Constant>(Op1)) { 978 if ((Pred == ICmpInst::ICMP_SLT && Op1C->isNullValue()) || 979 (Pred == ICmpInst::ICMP_SGT && Op1C->isAllOnesValue())) { 993 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { 998 ICI->isEquality() && (Op1C->isZero() || Op1C [all...] |
H A D | InstCombineMulDivRem.cpp | 307 Value *Op1C = Op1; local 312 Op1C = Op0; 315 Value *Neg = dyn_castNegVal(Op1C); 317 (BO->getOperand(1) == Op1C || BO->getOperand(1) == Neg) && 325 if (Op1BO == Op1C) 337 if (Op1BO == Op1C) 1231 if (Constant *Op1C = dyn_cast<Constant>(Op1)) { 1238 Constant *C2 = Op1C; 1266 if (Instruction *T = CvtFDivConstToReciprocal(Op0, Op1C, AllowReciprocal)) {
|
H A D | InstCombineAndOrXor.cpp | 1495 if (CastInst *Op1C = dyn_cast<CastInst>(Op1)) { 1496 if (Op0C->getOpcode() == Op1C->getOpcode() && // same cast kind ? 1497 SrcTy == Op1C->getOperand(0)->getType() && 1499 Value *Op1COp = Op1C->getOperand(0); 1503 ShouldOptimizeCast(Op1C->getOpcode(), Op1COp, I.getType())) { 2376 CastInst *Op1C = dyn_cast<CastInst>(Op1); local 2377 if (Op1C && Op0C->getOpcode() == Op1C->getOpcode()) {// same cast kind ? 2379 if (SrcTy == Op1C->getOperand(0)->getType() && 2381 Value *Op0COp = Op0C->getOperand(0), *Op1COp = Op1C [all...] |
H A D | InstCombineCompares.cpp | 3316 if (Constant *Op1C = dyn_cast<Constant>(Op1)) { 3317 Op1 = ConstantExpr::getBitCast(Op1C, Op0->getType());
|
/freebsd-11.0-release/contrib/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 2435 if (Constant *Op1C = dyn_cast<Constant>(Op1)) 2437 if (Op1C->getType()->getPrimitiveSizeInBits() < 2439 Op1C = ConstantExpr::getZExt(Op1C, MulC->getType()); 2440 if (Op1C->getType()->getPrimitiveSizeInBits() > 2442 MulC = ConstantExpr::getZExt(MulC, Op1C->getType()); 2445 Multiple = ConstantExpr::getMul(MulC, Op1C);
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 1126 if (ConstantFP *Op1C = dyn_cast<ConstantFP>(Op1)) { 1128 if (Op1C->isExactlyValue(1.0)) 1129 return Op1C; 1131 if (Op1C->isExactlyValue(2.0) && 1137 if (Op1C->isExactlyValue(10.0) &&
|
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/ |
H A D | X86FastISel.cpp | 1219 if (const ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { 1220 if (unsigned CompareImmOpc = X86ChooseCmpImmediateOpcode(VT, Op1C)) { 1223 .addImm(Op1C->getSExtValue());
|
Completed in 206 milliseconds