HomeSort by relevance Sort by last modified time
    Searched refs:ICI (Results 1 - 23 of 23) 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 355 if (ICmpInst *ICI = dyn_cast<ICmpInst>(I)) {
360 if (ICI->getPredicate() == (isEQ ? ICmpInst::ICMP_EQ:ICmpInst::ICMP_NE)) {
363 if (match(ICI->getOperand(0),
383 ConstantRange::makeICmpRegion(ICI->getPredicate(), C->getValue());
481 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition()))
482 if (ICI->isEquality() && GetConstantInt(ICI->getOperand(1), DL))
483 CV = ICI->getOperand(0);
511 ICmpInst *ICI = cast<ICmpInst>(BI->getCondition());
512 BasicBlock *Succ = BI->getSuccessor(ICI->getPredicate() == ICmpInst::ICMP_NE)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCompares.cpp 221 CmpInst &ICI, ConstantInt *AndCst) {
298 Constant *CompareRHS = cast<Constant>(ICI.getOperand(1));
311 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt,
402 return ReplaceInstUsesWith(ICI, Builder->getFalse());
422 return ReplaceInstUsesWith(ICI, Builder->getTrue());
740 Instruction *InstCombiner::FoldICmpAddOpCst(Instruction &ICI,
747 return ReplaceInstUsesWith(ICI, ConstantInt::get(ICI.getType(), isTrue));
752 return ReplaceInstUsesWith(ICI, Builder->getFalse());
756 return ReplaceInstUsesWith(ICI, Builder->getTrue())
    [all...]
InstCombine.h 164 GlobalVariable *GV, CmpInst &ICI,
168 Instruction *visitICmpInstWithCastAndCast(ICmpInst &ICI);
169 Instruction *visitICmpInstWithInstAndIntCst(ICmpInst &ICI, Instruction *LHS,
171 Instruction *FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI,
173 Instruction *FoldICmpShrCst(ICmpInst &ICI, BinaryOperator *DivI,
175 Instruction *FoldICmpAddOpCst(Instruction &ICI, Value *X, ConstantInt *CI,
202 Instruction *visitSelectInstWithICmp(SelectInst &SI, ICmpInst *ICI);
246 Instruction *transformZExtICmp(ICmpInst *ICI, Instruction &CI,
248 Instruction *transformSExtICmp(ICmpInst *ICI, Instruction &CI);
InstCombineSelect.cpp 31 ICmpInst *ICI = dyn_cast<ICmpInst>(SI->getCondition());
32 if (!ICI) return SPF_UNKNOWN;
34 ICmpInst::Predicate Pred = ICI->getPredicate();
35 Value *CmpLHS = ICI->getOperand(0);
36 Value *CmpRHS = ICI->getOperand(1);
470 ICmpInst *ICI) {
472 ICmpInst::Predicate Pred = ICI->getPredicate();
473 Value *CmpLHS = ICI->getOperand(0);
474 Value *CmpRHS = ICI->getOperand(1);
479 // can be adjusted to fit the min/max idiom. We may move or edit ICI
    [all...]
InstCombineCasts.cpp 513 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI,
518 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(ICI->getOperand(1))) {
523 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV == 0) ||
524 (ICI->getPredicate() == ICmpInst::ICMP_SGT &&Op1CV.isAllOnesValue())) {
525 if (!DoXform) return ICI;
527 Value *In = ICI->getOperand(0);
534 if (ICI->getPredicate() == ICmpInst::ICMP_SGT) {
552 ICI->isEquality()) {
556 computeKnownBits(ICI->getOperand(0), KnownZero, KnownOne);
560 if (!DoXform) return ICI;
    [all...]
InstructionCombining.cpp     [all...]
InstCombineMulDivRem.cpp 838 Value *ICI = IC.Builder->CreateICmpULT(Op0, cast<ConstantInt>(Op1));
840 return SelectInst::Create(ICI, Constant::getNullValue(I.getType()),
    [all...]
  /external/libcxx/test/containers/sequences/deque/deque.cons/
assign_iter_iter.pass.cpp 69 typedef input_iterator<CI> ICI;
71 c1.assign(ICI(c2.begin()), ICI(c2.end()));
  /external/libcxx/test/containers/sequences/deque/deque.special/
copy.pass.cpp 53 typedef input_iterator<CI> ICI;
66 assert(std::copy(ICI(c2.cbegin()), ICI(c2.cend()), c1.begin()) == c1.end());
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.cons/
assign_iter_iter.pass.cpp 69 typedef input_iterator<CI> ICI;
71 c1.assign(ICI(c2.begin()), ICI(c2.end()));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.special/
copy.pass.cpp 53 typedef input_iterator<CI> ICI;
66 assert(std::copy(ICI(c2.cbegin()), ICI(c2.cend()), c1.begin()) == c1.end());
  /external/llvm/lib/Analysis/
LazyValueInfo.cpp 803 ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition());
804 if (ICI && isa<Constant>(ICI->getOperand(1))) {
805 if (ICI->isEquality() && ICI->getOperand(0) == Val) {
808 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ))
809 Result = LVILatticeVal::get(cast<Constant>(ICI->getOperand(1)));
811 Result = LVILatticeVal::getNot(cast<Constant>(ICI->getOperand(1)));
818 if (ICI->getPredicate() == ICmpInst::ICMP_ULT)
819 match(ICI->getOperand(0), m_Add(m_Specific(Val)
    [all...]
ScalarEvolution.cpp     [all...]
  /external/libcxx/test/containers/sequences/deque/deque.modifiers/
insert_iter_iter.pass.cpp 134 typedef input_iterator<CI> ICI;
136 CI i = c1.insert(c1.begin() + P, ICI(c2.begin()), ICI(c2.end()));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.modifiers/
insert_iter_iter.pass.cpp 134 typedef input_iterator<CI> ICI;
136 CI i = c1.insert(c1.begin() + P, ICI(c2.begin()), ICI(c2.end()));
  /external/llvm/lib/Transforms/ObjCARC/
DependencyAnalysis.cpp 81 if (const ICmpInst *ICI = dyn_cast<ICmpInst>(Inst)) {
85 if (!IsPotentialRetainableObjPtr(ICI->getOperand(1), *PA.getAA()))
  /external/llvm/lib/Transforms/Scalar/
Scalarizer.cpp 81 // ICmpSpliiter(ICI)(Builder, X, Y, Name) uses Builder to create an ICmp
82 // called Name that compares X and Y in the same way as ICI.
84 ICmpSplitter(ICmpInst &ici) : ICI(ici) {}
87 return Builder.CreateICmp(ICI.getPredicate(), Op0, Op1, Name);
89 ICmpInst &ICI;
413 bool Scalarizer::visitICmpInst(ICmpInst &ICI) {
414 return splitBinary(ICI, ICmpSplitter(ICI));
    [all...]
LoopStrengthReduce.cpp     [all...]
  /external/llvm/lib/Analysis/IPA/
GlobalsModRef.cpp 282 } else if (ICmpInst *ICI = dyn_cast<ICmpInst>(I)) {
283 if (!isa<ConstantPointerNull>(ICI->getOperand(1)))
  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp     [all...]
  /external/clang/lib/Sema/
SemaDeclCXX.cpp     [all...]

Completed in 1005 milliseconds