Searched refs:CI2 (Results 1 – 6 of 6) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 1254 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) { in ConstantFoldBinaryInstruction() local 1257 if (CI2->isZero()) return C1; // X + 0 == X in ConstantFoldBinaryInstruction() 1260 if (CI2->isZero()) return C1; // X - 0 == X in ConstantFoldBinaryInstruction() 1263 if (CI2->isZero()) return C2; // X * 0 == 0 in ConstantFoldBinaryInstruction() 1264 if (CI2->isOne()) in ConstantFoldBinaryInstruction() 1269 if (CI2->isOne()) in ConstantFoldBinaryInstruction() 1271 if (CI2->isZero()) in ConstantFoldBinaryInstruction() 1272 return PoisonValue::get(CI2->getType()); // X / 0 == poison in ConstantFoldBinaryInstruction() 1276 if (CI2->isOne()) in ConstantFoldBinaryInstruction() 1277 return Constant::getNullValue(CI2->getType()); // X % 1 == 0 in ConstantFoldBinaryInstruction() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | LowerSwitch.cpp | 90 const ConstantInt *CI2 = cast<const ConstantInt>(C2.High); in operator ()() local 91 return CI1->getValue().slt(CI2->getValue()); in operator ()()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 3301 CallInst *CI2 = dyn_cast<CallInst>(V); in buildTree_rec() local 3302 if (!CI2 || CI2->getCalledFunction() != F || in buildTree_rec() 3303 getVectorIntrinsicIDForCall(CI2, TLI) != ID || in buildTree_rec() 3305 VecFunc != VFDatabase(*CI2).getVectorizedFunction(Shape)) || in buildTree_rec() 3306 !CI->hasIdenticalOperandBundleSchema(*CI2)) { in buildTree_rec() 3318 Value *A1J = CI2->getArgOperand(j); in buildTree_rec() 3334 CI2->op_begin() + CI2->getBundleOperandsStartIndex())) { in buildTree_rec() 3351 auto *CI2 = cast<CallInst>(V); in buildTree_rec() local 3352 Operands.push_back(CI2->getArgOperand(i)); in buildTree_rec()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 251 const CastInst *CI2) { in isEliminableCastPair() argument 254 Type *DstTy = CI2->getDestTy(); in isEliminableCastPair() 257 Instruction::CastOps secondOp = CI2->getOpcode(); in isEliminableCastPair()
|
H A D | InstCombineInternal.h | 341 const CastInst *CI2);
|
H A D | InstCombineCompares.cpp | 1219 ConstantInt *CI2, ConstantInt *CI1, in processUGT_ADDCST_ADD() argument 1233 if (!CI2->getValue().isPowerOf2()) in processUGT_ADDCST_ADD() 1235 unsigned NewWidth = CI2->getValue().countTrailingZeros(); in processUGT_ADDCST_ADD() 1412 ConstantInt *CI, *CI2; // I = icmp ugt (add (add A, B), CI2), CI in foldICmpWithConstant() local 1414 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2)))) in foldICmpWithConstant() 1415 if (Instruction *Res = processUGT_ADDCST_ADD(Cmp, A, B, CI2, CI, *this)) in foldICmpWithConstant()
|