HomeSort by relevance Sort by last modified time
    Searched refs:CmpInst (Results 1 - 25 of 55) sorted by null

1 2 3

  /external/llvm/lib/Target/X86/
X86FastISel.cpp 864 const CmpInst *CI = cast<CmpInst>(I);
874 case CmpInst::FCMP_OEQ: {
888 case CmpInst::FCMP_UNE: {
901 case CmpInst::FCMP_OGT: SwapArgs = false; SetCCOpc = X86::SETAr; break;
902 case CmpInst::FCMP_OGE: SwapArgs = false; SetCCOpc = X86::SETAEr; break;
903 case CmpInst::FCMP_OLT: SwapArgs = true; SetCCOpc = X86::SETAr; break;
904 case CmpInst::FCMP_OLE: SwapArgs = true; SetCCOpc = X86::SETAEr; break;
905 case CmpInst::FCMP_ONE: SwapArgs = false; SetCCOpc = X86::SETNEr; break;
906 case CmpInst::FCMP_ORD: SwapArgs = false; SetCCOpc = X86::SETNPr; break
    [all...]
  /external/llvm/lib/VMCore/
Instruction.cpp 198 if (const CmpInst *CI = dyn_cast<CmpInst>(this))
199 return CI->getPredicate() == cast<CmpInst>(I)->getPredicate();
237 if (const CmpInst *CI = dyn_cast<CmpInst>(this))
238 return CI->getPredicate() == cast<CmpInst>(I)->getPredicate();
Constants.cpp     [all...]
Instructions.cpp     [all...]
  /external/llvm/lib/Analysis/
InstructionSimplify.cpp 384 static Value *ThreadCmpOverSelect(CmpInst::Predicate Pred, Value *LHS,
395 Pred = CmpInst::getSwappedPredicate(Pred);
484 static Value *ThreadCmpOverPHI(CmpInst::Predicate Pred, Value *LHS, Value *RHS,
494 Pred = CmpInst::getSwappedPredicate(Pred);
    [all...]
  /external/llvm/lib/Transforms/Scalar/
IndVarSimplify.cpp 341 CmpInst::Predicate NewPred = CmpInst::BAD_ICMP_PREDICATE;
344 case CmpInst::FCMP_OEQ:
345 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; break;
346 case CmpInst::FCMP_ONE:
347 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; break;
348 case CmpInst::FCMP_OGT:
349 case CmpInst::FCMP_UGT: NewPred = CmpInst::ICMP_SGT; break
    [all...]
CorrelatedValuePropagation.cpp 39 bool processCmp(CmpInst *C);
140 bool CorrelatedValuePropagation::processCmp(CmpInst *C) {
194 BBChanged |= processCmp(cast<CmpInst>(II));
EarlyCSE.cpp 63 isa<GetElementPtrInst>(Inst) || isa<CmpInst>(Inst) ||
99 else if (CmpInst *CI = dyn_cast<CmpInst>(Inst))
CodeGenPrepare.cpp 435 /// OptimizeCmpExpression - sink the given CmpInst into user blocks to reduce
441 static bool OptimizeCmpExpression(CmpInst *CI) {
445 DenseMap<BasicBlock*, CmpInst*> InsertedCmps;
467 CmpInst *&InsertedCmp = InsertedCmps[UserBB];
473 CmpInst::Create(CI->getOpcode(),
    [all...]
JumpThreading.cpp 466 if (CmpInst *Cmp = dyn_cast<CmpInst>(I)) {
726 if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) {
771 if (CmpInst *CondCmp = dyn_cast<CmpInst>(SimplifyValue))
    [all...]
  /external/llvm/include/llvm/
InstrTypes.h 623 // CmpInst Class
628 class CmpInst : public Instruction {
630 CmpInst(); // do not implement
632 CmpInst(Type *ty, Instruction::OtherOps op, unsigned short pred,
636 CmpInst(Type *ty, Instruction::OtherOps op, unsigned short pred,
642 /// This enumeration lists the possible predicates for CmpInst subclasses.
690 /// @brief Create a CmpInst
691 static CmpInst *Create(OtherOps Op,
699 /// @brief Create a CmpInst
700 static CmpInst *Create(OtherOps Op, unsigned short predicate, Value *S1
    [all...]
Instructions.h 584 class ICmpInst: public CmpInst {
596 ) : CmpInst(makeCmpResultType(LHS->getType()),
599 assert(pred >= CmpInst::FIRST_ICMP_PREDICATE &&
600 pred <= CmpInst::LAST_ICMP_PREDICATE &&
617 ) : CmpInst(makeCmpResultType(LHS->getType()),
620 assert(pred >= CmpInst::FIRST_ICMP_PREDICATE &&
621 pred <= CmpInst::LAST_ICMP_PREDICATE &&
637 ) : CmpInst(makeCmpResultType(LHS->getType()),
639 assert(pred >= CmpInst::FIRST_ICMP_PREDICATE &&
640 pred <= CmpInst::LAST_ICMP_PREDICATE &
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombinePHI.cpp 26 assert(isa<BinaryOperator>(FirstInst) || isa<CmpInst>(FirstInst));
53 // If they are CmpInst instructions, check their predicates
54 if (CmpInst *CI = dyn_cast<CmpInst>(I))
55 if (CI->getPredicate() != cast<CmpInst>(FirstInst)->getPredicate())
113 if (CmpInst *CIOp = dyn_cast<CmpInst>(FirstInst)) {
114 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(),
412 } else if (isa<BinaryOperator>(FirstInst) || isa<CmpInst>(FirstInst))
    [all...]
InstCombineAndOrXor.cpp 44 if (CmpInst *CI = dyn_cast<CmpInst>(V))
143 CmpInst::Predicate Pred;
147 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 0);
155 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 1);
166 CmpInst::Predicate Pred;
186 return (CmpInst::isSigned(p1) == CmpInst::isSigned(p2)) ||
187 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) ||
188 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1))
    [all...]
InstCombineVectorOps.cpp 47 if (CmpInst *CI = dyn_cast<CmpInst>(I))
  /external/llvm/lib/Target/ARM/
ARMFastISel.cpp     [all...]
  /external/llvm/include/llvm/Support/
InstVisitor.h 167 RetTy visitICmpInst(ICmpInst &I) { DELEGATE(CmpInst);}
168 RetTy visitFCmpInst(FCmpInst &I) { DELEGATE(CmpInst);}
201 RetTy visitCmpInst(CmpInst &I) { DELEGATE(Instruction); }
ConstantFolder.h 182 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS,
186 Constant *CreateFCmp(CmpInst::Predicate P, Constant *LHS,
PatternMatch.h 444 // Matchers for CmpInst classes
741 return Pred == CmpInst::ICMP_SGT || Pred == CmpInst::ICMP_SGE;
748 return Pred == CmpInst::ICMP_SLT || Pred == CmpInst::ICMP_SLE;
755 return Pred == CmpInst::ICMP_UGT || Pred == CmpInst::ICMP_UGE;
762 return Pred == CmpInst::ICMP_ULT || Pred == CmpInst::ICMP_ULE;
NoFolder.h 241 Instruction *CreateICmp(CmpInst::Predicate P,
245 Instruction *CreateFCmp(CmpInst::Predicate P,
TargetFolder.h 199 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS,
203 Constant *CreateFCmp(CmpInst::Predicate P, Constant *LHS,
  /external/llvm/lib/AsmParser/
LLParser.cpp     [all...]
  /external/llvm/lib/CodeGen/
StackProtector.cpp 235 ICmpInst *Cmp = new ICmpInst(*BB, CmpInst::ICMP_EQ, LI1, LI2, "");
  /external/llvm/lib/Transforms/Utils/
LowerExpectIntrinsic.cpp 91 if (!CmpI || CmpI->getPredicate() != CmpInst::ICMP_NE)
  /external/llvm/tools/llvm-diff/
DifferenceEngine.cpp 259 if (isa<CmpInst>(L)) {
260 if (cast<CmpInst>(L)->getPredicate()
261 != cast<CmpInst>(R)->getPredicate()) {

Completed in 239 milliseconds

1 2 3