Searched refs:CmpI (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 101 ICmpInst *CmpI = dyn_cast<ICmpInst>(BI.getCondition()); in handleBranchExpect() local 102 if (!CmpI) { in handleBranchExpect() 105 if (CmpI->getPredicate() != CmpInst::ICMP_NE) in handleBranchExpect() 107 CI = dyn_cast<CallInst>(CmpI->getOperand(0)); in handleBranchExpect() 134 if (CmpI) in handleBranchExpect() 135 CmpI->setOperand(0, ArgValue); in handleBranchExpect()
|
D | GVN.cpp | 1720 if (auto *CmpI = dyn_cast<CmpInst>(V)) { in processAssumeIntrinsic() local 1721 if (CmpI->getPredicate() == CmpInst::Predicate::ICMP_EQ || in processAssumeIntrinsic() 1722 CmpI->getPredicate() == CmpInst::Predicate::FCMP_OEQ || in processAssumeIntrinsic() 1723 (CmpI->getPredicate() == CmpInst::Predicate::FCMP_UEQ && in processAssumeIntrinsic() 1724 CmpI->getFastMathFlags().noNaNs())) { in processAssumeIntrinsic() 1725 Value *CmpLHS = CmpI->getOperand(0); in processAssumeIntrinsic() 1726 Value *CmpRHS = CmpI->getOperand(1); in processAssumeIntrinsic()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | LowerExpectIntrinsic.cpp | 90 ICmpInst *CmpI = dyn_cast<ICmpInst>(BI->getCondition()); in HandleIfExpect() local 91 if (!CmpI || CmpI->getPredicate() != CmpInst::ICMP_NE) in HandleIfExpect() 94 CallInst *CI = dyn_cast<CallInst>(CmpI->getOperand(0)); in HandleIfExpect() 122 CmpI->setOperand(0, ArgValue); in HandleIfExpect()
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiInstrInfo.cpp | 207 inline static bool isRedundantFlagInstr(MachineInstr *CmpI, unsigned SrcReg, in isRedundantFlagInstr() argument 210 if (CmpI->getOpcode() == Lanai::SFSUB_F_RR && in isRedundantFlagInstr() 218 if (((CmpI->getOpcode() == Lanai::SFSUB_F_RI_LO && in isRedundantFlagInstr() 220 (CmpI->getOpcode() == Lanai::SFSUB_F_RI_HI && in isRedundantFlagInstr()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonHardwareLoops.cpp | 206 bool orderBumpCompare(MachineInstr *BumpI, MachineInstr *CmpI); 1284 MachineInstr *CmpI) { in orderBumpCompare() argument 1285 assert (BumpI != CmpI && "Bump and compare in the same instruction?"); in orderBumpCompare() 1288 if (CmpI->getParent() != BB) in orderBumpCompare() 1294 if (&*I == CmpI) in orderBumpCompare() 1298 unsigned PredR = CmpI->getOperand(0).getReg(); in orderBumpCompare() 1300 instr_iterator CmpIt = CmpI->getIterator(), NextIt = std::next(CmpIt); in orderBumpCompare() 1312 BB->splice(++BumpI->getIterator(), BB, CmpI->getIterator()); in orderBumpCompare()
|
D | HexagonSplitDouble.cpp | 462 const MachineInstr *CmpI = MRI->getVRegDef(PR); in collectIndRegsForLoop() local 463 while (CmpI->getOpcode() == Hexagon::C2_not) in collectIndRegsForLoop() 464 CmpI = MRI->getVRegDef(CmpI->getOperand(1).getReg()); in collectIndRegsForLoop() 467 bool OkCI = TII->analyzeCompare(*CmpI, CmpR1, CmpR2, Mask, Val); in collectIndRegsForLoop()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 3839 static Value *lookThroughCast(CmpInst *CmpI, Value *V1, Value *V2, in lookThroughCast() argument 3860 if (isa<ZExtInst>(CI) && CmpI->isUnsigned()) in lookThroughCast() 3863 if (isa<SExtInst>(CI) && CmpI->isSigned()) in lookThroughCast() 3867 CastedTo = ConstantExpr::getIntegerCast(C, CI->getSrcTy(), CmpI->isSigned()); in lookThroughCast() 3904 CmpInst *CmpI = dyn_cast<CmpInst>(SI->getCondition()); in matchSelectPattern() local 3905 if (!CmpI) return {SPF_UNKNOWN, SPNB_NA, false}; in matchSelectPattern() 3907 CmpInst::Predicate Pred = CmpI->getPredicate(); in matchSelectPattern() 3908 Value *CmpLHS = CmpI->getOperand(0); in matchSelectPattern() 3909 Value *CmpRHS = CmpI->getOperand(1); in matchSelectPattern() 3913 if (isa<FPMathOperator>(CmpI)) in matchSelectPattern() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.cpp | 2361 inline static bool isRedundantFlagInstr(MachineInstr *CmpI, unsigned SrcReg, in isRedundantFlagInstr() argument 2364 if ((CmpI->getOpcode() == ARM::CMPrr || in isRedundantFlagInstr() 2365 CmpI->getOpcode() == ARM::t2CMPrr) && in isRedundantFlagInstr() 2374 if ((CmpI->getOpcode() == ARM::CMPri || in isRedundantFlagInstr() 2375 CmpI->getOpcode() == ARM::t2CMPri) && in isRedundantFlagInstr()
|