Home
last modified time | relevance | path

Searched refs:CI2 (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp1003 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) { in ConstantFoldBinaryInstruction() local
1013 if (CI2->isOne()) in ConstantFoldBinaryInstruction()
1018 if (CI2->isOne()) in ConstantFoldBinaryInstruction()
1020 if (CI2->isZero()) in ConstantFoldBinaryInstruction()
1025 if (CI2->isOne()) in ConstantFoldBinaryInstruction()
1027 if (CI2->isZero()) in ConstantFoldBinaryInstruction()
1032 if (CI2->isMinusOne()) in ConstantFoldBinaryInstruction()
1082 if ((CI2->getValue() & BitsNotSet) == CI2->getValue()) in ConstantFoldBinaryInstruction()
1090 if (CI2->isMinusOne()) in ConstantFoldBinaryInstruction()
1102 assert(CI2->isOne()); in ConstantFoldBinaryInstruction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp90 const ConstantInt *CI2 = cast<const ConstantInt>(C2.High); in operator ()() local
91 return CI1->getValue().slt(CI2->getValue()); in operator ()()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3330 CallInst *CI2 = dyn_cast<CallInst>(V); in buildTree_rec() local
3331 if (!CI2 || CI2->getCalledFunction() != F || in buildTree_rec()
3332 getVectorIntrinsicIDForCall(CI2, TLI) != ID || in buildTree_rec()
3334 VecFunc != VFDatabase(*CI2).getVectorizedFunction(Shape)) || in buildTree_rec()
3335 !CI->hasIdenticalOperandBundleSchema(*CI2)) { in buildTree_rec()
3347 Value *A1J = CI2->getArgOperand(j); in buildTree_rec()
3363 CI2->op_begin() + CI2->getBundleOperandsStartIndex())) { in buildTree_rec()
3380 auto *CI2 = cast<CallInst>(V); in buildTree_rec() local
3381 Operands.push_back(CI2->getArgOperand(i)); in buildTree_rec()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h343 const CastInst *CI2);
H A DInstCombineCasts.cpp251 const CastInst *CI2) { in isEliminableCastPair() argument
254 Type *DstTy = CI2->getDestTy(); in isEliminableCastPair()
257 Instruction::CastOps secondOp = CI2->getOpcode(); in isEliminableCastPair()
H A DInstCombineCompares.cpp1242 ConstantInt *CI2, ConstantInt *CI1, in processUGT_ADDCST_ADD() argument
1256 if (!CI2->getValue().isPowerOf2()) in processUGT_ADDCST_ADD()
1258 unsigned NewWidth = CI2->getValue().countTrailingZeros(); in processUGT_ADDCST_ADD()
1435 ConstantInt *CI, *CI2; // I = icmp ugt (add (add A, B), CI2), CI in foldICmpWithConstant() local
1437 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2)))) in foldICmpWithConstant()
1438 if (Instruction *Res = processUGT_ADDCST_ADD(Cmp, A, B, CI2, CI, *this)) in foldICmpWithConstant()