Home
last modified time | relevance | path

Searched refs:CmpInst (Results 1 – 25 of 143) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp256 FCmp32Libcalls.resize(CmpInst::LAST_FCMP_PREDICATE + 1); in setFCmpLibcallsAEABI()
257 FCmp32Libcalls[CmpInst::FCMP_OEQ] = { in setFCmpLibcallsAEABI()
258 {RTLIB::OEQ_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI()
259 FCmp32Libcalls[CmpInst::FCMP_OGE] = { in setFCmpLibcallsAEABI()
260 {RTLIB::OGE_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI()
261 FCmp32Libcalls[CmpInst::FCMP_OGT] = { in setFCmpLibcallsAEABI()
262 {RTLIB::OGT_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI()
263 FCmp32Libcalls[CmpInst::FCMP_OLE] = { in setFCmpLibcallsAEABI()
264 {RTLIB::OLE_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI()
265 FCmp32Libcalls[CmpInst::FCMP_OLT] = { in setFCmpLibcallsAEABI()
[all …]
DARMInstructionSelector.cpp394 getComparePreds(CmpInst::Predicate Pred) { in getComparePreds()
397 case CmpInst::FCMP_ONE: in getComparePreds()
400 case CmpInst::FCMP_UEQ: in getComparePreds()
403 case CmpInst::ICMP_EQ: in getComparePreds()
404 case CmpInst::FCMP_OEQ: in getComparePreds()
407 case CmpInst::ICMP_SGT: in getComparePreds()
408 case CmpInst::FCMP_OGT: in getComparePreds()
411 case CmpInst::ICMP_SGE: in getComparePreds()
412 case CmpInst::FCMP_OGE: in getComparePreds()
415 case CmpInst::ICMP_UGT: in getComparePreds()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp130 CmpInst::Predicate &LLVMPredicate) { in DecodeFcmpPredicate()
133 LLVMPredicate = CmpInst::FCMP_FALSE; in DecodeFcmpPredicate()
136 LLVMPredicate = CmpInst::FCMP_FALSE; in DecodeFcmpPredicate()
139 LLVMPredicate = CmpInst::FCMP_OEQ; in DecodeFcmpPredicate()
142 LLVMPredicate = CmpInst::FCMP_OGT; in DecodeFcmpPredicate()
145 LLVMPredicate = CmpInst::FCMP_OGE; in DecodeFcmpPredicate()
148 LLVMPredicate = CmpInst::FCMP_OLT; in DecodeFcmpPredicate()
151 LLVMPredicate = CmpInst::FCMP_OLE; in DecodeFcmpPredicate()
154 LLVMPredicate = CmpInst::FCMP_ONE; in DecodeFcmpPredicate()
157 LLVMPredicate = CmpInst::FCMP_ORD; in DecodeFcmpPredicate()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp85 void convertFCmp(CmpInst &I);
88 void convertICmp(CmpInst &I);
122 void SystemZTDCPass::convertFCmp(CmpInst &I) { in convertFCmp()
144 if ((Pred & CmpInst::FCMP_OGE) != CmpInst::FCMP_OGE && in convertFCmp()
145 (Pred & CmpInst::FCMP_OGE) != 0) in convertFCmp()
150 if ((Pred & CmpInst::FCMP_OLE) != CmpInst::FCMP_OLE && in convertFCmp()
151 (Pred & CmpInst::FCMP_OLE) != 0) in convertFCmp()
205 if (Pred & CmpInst::FCMP_OEQ) in convertFCmp()
207 if (Pred & CmpInst::FCMP_OGT) in convertFCmp()
209 if (Pred & CmpInst::FCMP_OLT) in convertFCmp()
[all …]
DSystemZTargetTransformInfo.cpp629 if (CmpInst *CI = dyn_cast<CmpInst>(I->getOperand(0))) in getCmpOpsType()
633 if (CmpInst *CI0 = dyn_cast<CmpInst>(LogicI->getOperand(0))) in getCmpOpsType()
634 if (isa<CmpInst>(LogicI->getOperand(1))) in getCmpOpsType()
818 switch (cast<CmpInst>(I)->getPredicate()) { in getCmpSelInstrCost()
819 case CmpInst::Predicate::ICMP_NE: in getCmpSelInstrCost()
820 case CmpInst::Predicate::ICMP_UGE: in getCmpSelInstrCost()
821 case CmpInst::Predicate::ICMP_ULE: in getCmpSelInstrCost()
822 case CmpInst::Predicate::ICMP_SGE: in getCmpSelInstrCost()
823 case CmpInst::Predicate::ICMP_SLE: in getCmpSelInstrCost()
826 case CmpInst::Predicate::FCMP_ONE: in getCmpSelInstrCost()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOperations.cpp33 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_EQ)); in describeFuzzerIntOps()
34 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_NE)); in describeFuzzerIntOps()
35 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_UGT)); in describeFuzzerIntOps()
36 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_UGE)); in describeFuzzerIntOps()
37 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_ULT)); in describeFuzzerIntOps()
38 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_ULE)); in describeFuzzerIntOps()
39 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SGT)); in describeFuzzerIntOps()
40 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SGE)); in describeFuzzerIntOps()
41 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SLT)); in describeFuzzerIntOps()
42 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SLE)); in describeFuzzerIntOps()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp85 static CmpInst::Predicate mapFCmpPred(CmpInst::Predicate P) { in mapFCmpPred()
87 case CmpInst::FCMP_OEQ: in mapFCmpPred()
88 case CmpInst::FCMP_UEQ: in mapFCmpPred()
89 return CmpInst::ICMP_EQ; in mapFCmpPred()
90 case CmpInst::FCMP_OGT: in mapFCmpPred()
91 case CmpInst::FCMP_UGT: in mapFCmpPred()
92 return CmpInst::ICMP_SGT; in mapFCmpPred()
93 case CmpInst::FCMP_OGE: in mapFCmpPred()
94 case CmpInst::FCMP_UGE: in mapFCmpPred()
95 return CmpInst::ICMP_SGE; in mapFCmpPred()
[all …]
DEarlyCSE.cpp114 isa<CmpInst>(Inst) || isa<SelectInst>(Inst) || in canHandle()
169 CmpInst::Predicate Pred; in matchSelectWithOptionalNotCond()
193 case CmpInst::ICMP_UGT: Flavor = SPF_UMAX; break; in matchSelectWithOptionalNotCond()
194 case CmpInst::ICMP_ULT: Flavor = SPF_UMIN; break; in matchSelectWithOptionalNotCond()
195 case CmpInst::ICMP_SGT: Flavor = SPF_SMAX; break; in matchSelectWithOptionalNotCond()
196 case CmpInst::ICMP_SLT: Flavor = SPF_SMIN; break; in matchSelectWithOptionalNotCond()
215 if (CmpInst *CI = dyn_cast<CmpInst>(Inst)) { in getHashValueImpl()
222 CmpInst::Predicate Pred = CI->getPredicate(); in getHashValueImpl()
223 CmpInst::Predicate SwappedPred = CI->getSwappedPredicate(); in getHashValueImpl()
254 CmpInst::Predicate Pred; in getHashValueImpl()
[all …]
DIndVarSimplify.cpp370 CmpInst::Predicate NewPred = CmpInst::BAD_ICMP_PREDICATE; in handleFloatingPointIV()
373 case CmpInst::FCMP_OEQ: in handleFloatingPointIV()
374 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; break; in handleFloatingPointIV()
375 case CmpInst::FCMP_ONE: in handleFloatingPointIV()
376 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; break; in handleFloatingPointIV()
377 case CmpInst::FCMP_OGT: in handleFloatingPointIV()
378 case CmpInst::FCMP_UGT: NewPred = CmpInst::ICMP_SGT; break; in handleFloatingPointIV()
379 case CmpInst::FCMP_OGE: in handleFloatingPointIV()
380 case CmpInst::FCMP_UGE: NewPred = CmpInst::ICMP_SGE; break; in handleFloatingPointIV()
381 case CmpInst::FCMP_OLT: in handleFloatingPointIV()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLibCallsShrinkWrap.cpp104 Value *createOrCond(CallInst *CI, CmpInst::Predicate Cmp, float Val, in createOrCond()
105 CmpInst::Predicate Cmp2, float Val2) { in createOrCond()
114 Value *createCond(IRBuilder<> &BBBuilder, Value *Arg, CmpInst::Predicate Cmp, in createCond()
123 Value *createCond(CallInst *CI, CmpInst::Predicate Cmp, float Val) { in createCond()
149 Cond = createOrCond(CI, CmpInst::FCMP_OLT, -1.0f, CmpInst::FCMP_OGT, 1.0f); in performCallDomainErrorOnly()
160 Cond = createOrCond(CI, CmpInst::FCMP_OEQ, INFINITY, CmpInst::FCMP_OEQ, in performCallDomainErrorOnly()
169 Cond = createCond(CI, CmpInst::FCMP_OLT, 1.0f); in performCallDomainErrorOnly()
177 Cond = createCond(CI, CmpInst::FCMP_OLT, 0.0f); in performCallDomainErrorOnly()
238 Cond = createOrCond(CI, CmpInst::FCMP_OLE, -1.0f, CmpInst::FCMP_OGE, 1.0f); in performCallErrors()
257 Cond = createCond(CI, CmpInst::FCMP_OLE, 0.0f); in performCallErrors()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsInstructionSelector.cpp661 CmpInst::Predicate Cond = in select()
662 static_cast<CmpInst::Predicate>(I.getOperand(1).getPredicate()); in select()
665 case CmpInst::ICMP_EQ: // LHS == RHS -> (LHS ^ RHS) < 1 in select()
669 case CmpInst::ICMP_NE: // LHS != RHS -> 0 < (LHS ^ RHS) in select()
673 case CmpInst::ICMP_UGT: // LHS > RHS -> RHS < LHS in select()
676 case CmpInst::ICMP_UGE: // LHS >= RHS -> !(LHS < RHS) in select()
680 case CmpInst::ICMP_ULT: // LHS < RHS -> LHS < RHS in select()
683 case CmpInst::ICMP_ULE: // LHS <= RHS -> !(RHS < LHS) in select()
687 case CmpInst::ICMP_SGT: // LHS > RHS -> RHS < LHS in select()
690 case CmpInst::ICMP_SGE: // LHS >= RHS -> !(LHS < RHS) in select()
[all …]
DMipsFastISel.cpp180 bool emitCmp(unsigned DestReg, const CmpInst *CI);
638 bool MipsFastISel::emitCmp(unsigned ResultReg, const CmpInst *CI) { in emitCmp()
647 CmpInst::Predicate P = CI->getPredicate(); in emitCmp()
652 case CmpInst::ICMP_EQ: { in emitCmp()
658 case CmpInst::ICMP_NE: { in emitCmp()
664 case CmpInst::ICMP_UGT: in emitCmp()
667 case CmpInst::ICMP_ULT: in emitCmp()
670 case CmpInst::ICMP_UGE: { in emitCmp()
676 case CmpInst::ICMP_ULE: { in emitCmp()
682 case CmpInst::ICMP_SGT: in emitCmp()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp43 CmpInst::Predicate &Pred) { in getPredForICmpCode()
47 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 0); in getPredForICmpCode()
55 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 1); in getPredForICmpCode()
61 return (CmpInst::isSigned(P1) == CmpInst::isSigned(P2)) || in predicatesFoldable()
62 (CmpInst::isSigned(P1) && ICmpInst::isEquality(P2)) || in predicatesFoldable()
63 (CmpInst::isSigned(P2) && ICmpInst::isEquality(P1)); in predicatesFoldable()
67 CmpInst::Predicate &Pred, in decomposeBitTestICmp()
DInstructionSimplify.cpp80 CmpInst::Predicate ExpectedPred, Pred1, Pred2; in foldSelectWithBinaryOp()
127 static bool isSameCompare(Value *V, CmpInst::Predicate Pred, Value *LHS, in isSameCompare()
129 CmpInst *Cmp = dyn_cast<CmpInst>(V); in isSameCompare()
132 CmpInst::Predicate CPred = Cmp->getPredicate(); in isSameCompare()
136 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare()
145 static Value *simplifyCmpSelCase(CmpInst::Predicate Pred, Value *LHS, in simplifyCmpSelCase()
162 static Value *simplifyCmpSelTrueCase(CmpInst::Predicate Pred, Value *LHS, in simplifyCmpSelTrueCase()
171 static Value *simplifyCmpSelFalseCase(CmpInst::Predicate Pred, Value *LHS, in simplifyCmpSelFalseCase()
472 static Value *ThreadCmpOverSelect(CmpInst::Predicate Pred, Value *LHS, in ThreadCmpOverSelect()
482 Pred = CmpInst::getSwappedPredicate(Pred); in ThreadCmpOverSelect()
[all …]
DValueTracking.cpp592 CmpInst::Predicate Pred; in isKnownNonZeroFromAssume()
597 Pred = CmpInst::getSwappedPredicate(Pred); in isKnownNonZeroFromAssume()
699 CmpInst::Predicate Pred; in computeKnownBitsFromAssume()
2024 CmpInst::Predicate Pred; in isKnownNonNullFromDominatingCondition()
4660 static SelectPatternResult matchFastFloatClamp(CmpInst::Predicate Pred, in matchFastFloatClamp()
4672 Pred = CmpInst::getInversePredicate(Pred); in matchFastFloatClamp()
4685 case CmpInst::FCMP_OLT: in matchFastFloatClamp()
4686 case CmpInst::FCMP_OLE: in matchFastFloatClamp()
4687 case CmpInst::FCMP_ULT: in matchFastFloatClamp()
4688 case CmpInst::FCMP_ULE: in matchFastFloatClamp()
[all …]
DBranchProbabilityInfo.cpp520 CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition()); in computeUnlikelySuccessors()
733 case CmpInst::ICMP_EQ: in calcZeroHeuristics()
736 case CmpInst::ICMP_NE: in calcZeroHeuristics()
744 case CmpInst::ICMP_EQ: in calcZeroHeuristics()
748 case CmpInst::ICMP_NE: in calcZeroHeuristics()
752 case CmpInst::ICMP_SLT: in calcZeroHeuristics()
756 case CmpInst::ICMP_SGT: in calcZeroHeuristics()
763 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
769 case CmpInst::ICMP_EQ: in calcZeroHeuristics()
773 case CmpInst::ICMP_NE: in calcZeroHeuristics()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp2440 CmpInst::Predicate FastISel::optimizeCmpPredicate(const CmpInst *CI) const { in optimizeCmpPredicate()
2442 CmpInst::Predicate Predicate = CI->getPredicate(); in optimizeCmpPredicate()
2448 case CmpInst::FCMP_FALSE: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate()
2449 case CmpInst::FCMP_OEQ: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate()
2450 case CmpInst::FCMP_OGT: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate()
2451 case CmpInst::FCMP_OGE: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate()
2452 case CmpInst::FCMP_OLT: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate()
2453 case CmpInst::FCMP_OLE: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate()
2454 case CmpInst::FCMP_ONE: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate()
2455 case CmpInst::FCMP_ORD: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCmpInstAnalysis.h55 CmpInst::Predicate &Pred);
59 bool predicatesFoldable(CmpInst::Predicate P1, CmpInst::Predicate P2);
64 bool decomposeBitTestICmp(Value *LHS, Value *RHS, CmpInst::Predicate &Pred,
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceConverter.cpp414 case CmpInst::ICMP_EQ: in convertICmpInstruction()
417 case CmpInst::ICMP_NE: in convertICmpInstruction()
420 case CmpInst::ICMP_UGT: in convertICmpInstruction()
423 case CmpInst::ICMP_UGE: in convertICmpInstruction()
426 case CmpInst::ICMP_ULT: in convertICmpInstruction()
429 case CmpInst::ICMP_ULE: in convertICmpInstruction()
432 case CmpInst::ICMP_SGT: in convertICmpInstruction()
435 case CmpInst::ICMP_SGE: in convertICmpInstruction()
438 case CmpInst::ICMP_SLT: in convertICmpInstruction()
441 case CmpInst::ICMP_SLE: in convertICmpInstruction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp147 CmpInst &ICI, in foldCmpLoadFromIndexedGlobal()
922 if (IndicesTheSame && CmpInst::makeCmpResultType(BaseType) == I.getType()) in foldGEPICmp()
1095 Type *CmpTy = CmpInst::makeCmpResultType(Other->getType()); in foldAllocaCmp()
1098 ConstantInt::get(CmpTy, !CmpInst::isTrueWhenEqual(ICI.getPredicate()))); in foldAllocaCmp()
1157 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in foldICmpShrConstConst()
1159 Pred = CmpInst::getInversePredicate(Pred); in foldICmpShrConstConst()
1216 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in foldICmpShlConstConst()
1218 Pred = CmpInst::getInversePredicate(Pred); in foldICmpShlConstConst()
1393 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithZero()
1445 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithConstant()
[all …]
DInstCombinePHI.cpp297 assert(isa<BinaryOperator>(FirstInst) || isa<CmpInst>(FirstInst)); in FoldPHIArgBinOpIntoPHI()
316 if (CmpInst *CI = dyn_cast<CmpInst>(I)) in FoldPHIArgBinOpIntoPHI()
317 if (CI->getPredicate() != cast<CmpInst>(FirstInst)->getPredicate()) in FoldPHIArgBinOpIntoPHI()
368 if (CmpInst *CIOp = dyn_cast<CmpInst>(FirstInst)) { in FoldPHIArgBinOpIntoPHI()
369 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgBinOpIntoPHI()
766 } else if (isa<BinaryOperator>(FirstInst) || isa<CmpInst>(FirstInst)) { in FoldPHIArgOpIntoPHI()
836 CmpInst *CIOp = cast<CmpInst>(FirstInst); in FoldPHIArgOpIntoPHI()
837 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgOpIntoPHI()
1192 auto *CmpInst = dyn_cast<ICmpInst>(PHIUser); in visitPHINode() local
1194 if (CmpInst && isa<IntegerType>(PN.getType()) && CmpInst->isEquality() && in visitPHINode()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp77 ConstantRange ConstantRange::makeAllowedICmpRegion(CmpInst::Predicate Pred, in makeAllowedICmpRegion()
86 case CmpInst::ICMP_EQ: in makeAllowedICmpRegion()
88 case CmpInst::ICMP_NE: in makeAllowedICmpRegion()
92 case CmpInst::ICMP_ULT: { in makeAllowedICmpRegion()
98 case CmpInst::ICMP_SLT: { in makeAllowedICmpRegion()
104 case CmpInst::ICMP_ULE: in makeAllowedICmpRegion()
106 case CmpInst::ICMP_SLE: in makeAllowedICmpRegion()
108 case CmpInst::ICMP_UGT: { in makeAllowedICmpRegion()
114 case CmpInst::ICMP_SGT: { in makeAllowedICmpRegion()
120 case CmpInst::ICMP_UGE: in makeAllowedICmpRegion()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp2246 static AArch64CC::CondCode getCompareCC(CmpInst::Predicate Pred) { in getCompareCC()
2248 case CmpInst::FCMP_ONE: in getCompareCC()
2249 case CmpInst::FCMP_UEQ: in getCompareCC()
2253 case CmpInst::ICMP_EQ: in getCompareCC()
2254 case CmpInst::FCMP_OEQ: in getCompareCC()
2256 case CmpInst::ICMP_SGT: in getCompareCC()
2257 case CmpInst::FCMP_OGT: in getCompareCC()
2259 case CmpInst::ICMP_SGE: in getCompareCC()
2260 case CmpInst::FCMP_OGE: in getCompareCC()
2262 case CmpInst::ICMP_UGT: in getCompareCC()
[all …]
DAArch64InstructionSelector.cpp887 static bool isUnsignedICMPPred(const CmpInst::Predicate P) { in isUnsignedICMPPred()
891 case CmpInst::ICMP_UGT: in isUnsignedICMPPred()
892 case CmpInst::ICMP_UGE: in isUnsignedICMPPred()
893 case CmpInst::ICMP_ULT: in isUnsignedICMPPred()
894 case CmpInst::ICMP_ULE: in isUnsignedICMPPred()
899 static AArch64CC::CondCode changeICMPPredToAArch64CC(CmpInst::Predicate P) { in changeICMPPredToAArch64CC()
903 case CmpInst::ICMP_NE: in changeICMPPredToAArch64CC()
905 case CmpInst::ICMP_EQ: in changeICMPPredToAArch64CC()
907 case CmpInst::ICMP_SGT: in changeICMPPredToAArch64CC()
909 case CmpInst::ICMP_SGE: in changeICMPPredToAArch64CC()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp205 static Optional<PPC::Predicate> getComparePred(CmpInst::Predicate Pred) { in getComparePred()
208 case CmpInst::FCMP_FALSE: in getComparePred()
209 case CmpInst::FCMP_TRUE: in getComparePred()
226 case CmpInst::FCMP_UEQ: in getComparePred()
227 case CmpInst::FCMP_UGT: in getComparePred()
228 case CmpInst::FCMP_ULT: in getComparePred()
229 case CmpInst::FCMP_OGE: in getComparePred()
230 case CmpInst::FCMP_OLE: in getComparePred()
231 case CmpInst::FCMP_ONE: in getComparePred()
235 case CmpInst::FCMP_OEQ: in getComparePred()
[all …]

123456