Searched defs:CmpInst (Results 1 - 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp30 assert(isa<BinaryOperator>(FirstInst) || isa<CmpInst>(FirstInst));
48 // If they are CmpInst instructions, check their predicates
49 if (CmpInst *CI = dyn_cast<CmpInst>(I))
50 if (CI->getPredicate() != cast<CmpInst>(FirstInst)->getPredicate())
101 if (CmpInst *CIOp = dyn_cast<CmpInst>(FirstInst)) {
102 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(),
497 } else if (isa<BinaryOperator>(FirstInst) || isa<CmpInst>(FirstIns
916 auto *CmpInst = dyn_cast<ICmpInst>(PHIUser); local
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/
H A DInstrTypes.h623 // CmpInst Class
628 class CmpInst : public Instruction { class in namespace:llvm
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 *Creat
[all...]
/external/llvm/include/llvm/IR/
H A DInstrTypes.h851 // CmpInst Class
856 class CmpInst : public Instruction { class in namespace:llvm
858 /// This enumeration lists the possible predicates for CmpInst subclasses.
904 CmpInst() = delete;
907 CmpInst(Type *ty, Instruction::OtherOps op, Predicate pred,
911 CmpInst(Type *ty, Instruction::OtherOps op, Predicate pred,
926 /// @brief Create a CmpInst
927 static CmpInst *Create(OtherOps Op,
935 /// @brief Create a CmpInst
936 static CmpInst *Creat
[all...]
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DInstructions.cpp2808 // CmpInst Classes
2811 void CmpInst::Anchor() const {}
2813 CmpInst::CmpInst(Type *ty, OtherOps op, unsigned short predicate, function in class:CmpInst
2817 OperandTraits<CmpInst>::op_begin(this),
2818 OperandTraits<CmpInst>::operands(this),
2826 CmpInst::CmpInst(Type *ty, OtherOps op, unsigned short predicate, function in class:CmpInst
2830 OperandTraits<CmpInst>::op_begin(this),
2831 OperandTraits<CmpInst>
[all...]
/external/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp216 CmpInst *Ci2 = dyn_cast<CmpInst>(SI2->getCondition());
2148 if (!isa<BinaryOperator>(Inst) && !isa<CmpInst>(Inst))
2206 if (isa<CmpInst>(Curr)) {
2220 if (!Cond || (!isa<CmpInst>(Cond) && !isa<BinaryOperator>(Cond)) ||
2318 if (NewCond->hasOneUse() && isa<CmpInst>(NewCond)) {
2319 CmpInst *CI = cast<CmpInst>(NewCond);
4197 if (CmpInst *Cmp = dyn_cast<CmpInst>(
4748 ICmpInst *CmpInst = dyn_cast<ICmpInst>(PhiUser); local
[all...]

Completed in 771 milliseconds