HomeSort by relevance Sort by last modified time
    Searched refs:ICI (Results 1 - 17 of 17) sorted by null

  /external/llvm/include/llvm/Transforms/Utils/
CmpInstAnalysis.h 47 unsigned getICmpCode(const ICmpInst *ICI, bool InvertPred = false);
  /external/llvm/lib/Transforms/Utils/
CmpInstAnalysis.cpp 44 unsigned llvm::getICmpCode(const ICmpInst *ICI, bool InvertPred) {
45 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate()
46 : ICI->getPredicate();
SimplifyCFG.cpp 429 if (ICmpInst *ICI = dyn_cast<ICmpInst>(I)) {
431 if (ICI->getPredicate() == (isEQ ? ICmpInst::ICMP_EQ:ICmpInst::ICMP_NE)) {
440 ConstantRange::makeICmpRegion(ICI->getPredicate(), C->getValue());
531 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition()))
532 if ((ICI->getPredicate() == ICmpInst::ICMP_EQ ||
533 ICI->getPredicate() == ICmpInst::ICMP_NE) &&
534 GetConstantInt(ICI->getOperand(1), TD))
535 CV = ICI->getOperand(0);
559 ICmpInst *ICI = cast<ICmpInst>(BI->getCondition());
560 BasicBlock *Succ = BI->getSuccessor(ICI->getPredicate() == ICmpInst::ICMP_NE)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCompares.cpp 203 CmpInst &ICI, ConstantInt *AndCst) {
279 Constant *CompareRHS = cast<Constant>(ICI.getOperand(1));
292 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt,
380 return ReplaceInstUsesWith(ICI, ConstantInt::getFalse(GEP->getContext()));
400 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(GEP->getContext()));
708 Instruction *InstCombiner::FoldICmpAddOpCst(ICmpInst &ICI,
716 return ReplaceInstUsesWith(ICI, ConstantInt::get(ICI.getType(), isTrue));
721 return ReplaceInstUsesWith(ICI, ConstantInt::getFalse(X->getContext()));
725 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(X->getContext()))
    [all...]
InstCombineSelect.cpp 29 ICmpInst *ICI = dyn_cast<ICmpInst>(SI->getCondition());
30 if (ICI == 0) return SPF_UNKNOWN;
32 LHS = ICI->getOperand(0);
33 RHS = ICI->getOperand(1);
36 if (SI->getTrueValue() == ICI->getOperand(0) &&
37 SI->getFalseValue() == ICI->getOperand(1)) {
38 switch (ICI->getPredicate()) {
52 if (SI->getTrueValue() == ICI->getOperand(1) &&
53 SI->getFalseValue() == ICI->getOperand(0)) {
54 switch (ICI->getPredicate())
    [all...]
InstCombine.h 149 GlobalVariable *GV, CmpInst &ICI,
153 Instruction *visitICmpInstWithCastAndCast(ICmpInst &ICI);
154 Instruction *visitICmpInstWithInstAndIntCst(ICmpInst &ICI,
157 Instruction *FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI,
159 Instruction *FoldICmpShrCst(ICmpInst &ICI, BinaryOperator *DivI,
161 Instruction *FoldICmpAddOpCst(ICmpInst &ICI, Value *X, ConstantInt *CI,
188 Instruction *visitSelectInstWithICmp(SelectInst &SI, ICmpInst *ICI);
231 Instruction *transformZExtICmp(ICmpInst *ICI, Instruction &CI,
233 Instruction *transformSExtICmp(ICmpInst *ICI, Instruction &CI);
InstCombineCasts.cpp 510 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI,
515 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(ICI->getOperand(1))) {
520 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV == 0) ||
521 (ICI->getPredicate() == ICmpInst::ICMP_SGT &&Op1CV.isAllOnesValue())) {
522 if (!DoXform) return ICI;
524 Value *In = ICI->getOperand(0);
531 if (ICI->getPredicate() == ICmpInst::ICMP_SGT) {
549 ICI->isEquality()) {
553 ComputeMaskedBits(ICI->getOperand(0), KnownZero, KnownOne);
557 if (!DoXform) return ICI;
    [all...]
InstructionCombining.cpp     [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/deque/deque.cons/
assign_iter_iter.pass.cpp 66 typedef input_iterator<CI> ICI;
68 c1.assign(ICI(c2.begin()), ICI(c2.end()));
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/deque/deque.special/
copy.pass.cpp 51 typedef input_iterator<CI> ICI;
64 assert(std::copy(ICI(c2.cbegin()), ICI(c2.cend()), c1.begin()) == c1.end());
  /external/llvm/lib/Analysis/
LazyValueInfo.cpp 802 ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition());
803 if (ICI && isa<Constant>(ICI->getOperand(1))) {
804 if (ICI->isEquality() && ICI->getOperand(0) == Val) {
807 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ))
808 Result = LVILatticeVal::get(cast<Constant>(ICI->getOperand(1)));
810 Result = LVILatticeVal::getNot(cast<Constant>(ICI->getOperand(1)));
817 if (ICI->getPredicate() == ICmpInst::ICMP_ULT)
818 match(ICI->getOperand(0), m_Add(m_Specific(Val)
    [all...]
ScalarEvolution.cpp     [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/deque/deque.modifiers/
insert_iter_iter.pass.cpp 132 typedef input_iterator<CI> ICI;
134 CI i = c1.insert(c1.begin() + P, ICI(c2.begin()), ICI(c2.end()));
  /external/llvm/lib/Transforms/ObjCARC/
DependencyAnalysis.cpp 79 if (const ICmpInst *ICI = dyn_cast<ICmpInst>(Inst)) {
83 if (!IsPotentialRetainableObjPtr(ICI->getOperand(1), *PA.getAA()))
  /external/llvm/lib/Analysis/IPA/
GlobalsModRef.cpp 286 } else if (ICmpInst *ICI = dyn_cast<ICmpInst>(U)) {
287 if (!isa<ConstantPointerNull>(ICI->getOperand(1)))
  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp     [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopStrengthReduce.cpp     [all...]

Completed in 361 milliseconds