Home
last modified time | relevance | path

Searched refs:CondI (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp824 auto *CondI = in processNode() local
826 if (CondI && SimpleValue::canHandle(CondI)) { in processNode()
829 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
867 if (auto *CondI = in processNode() local
869 if (SimpleValue::canHandle(CondI)) { in processNode()
871 if (auto *KnownCond = AvailableValues.lookup(CondI)) { in processNode()
887 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
DSimpleLoopUnswitch.cpp2206 Instruction &CondI = *cast<Instruction>(BI->getCondition()); in unswitchBestCondition() local
2207 if (CondI.getOpcode() != Instruction::And && in unswitchBestCondition()
2208 CondI.getOpcode() != Instruction::Or) in unswitchBestCondition()
2212 collectHomogenousInstGraphLoopInvariants(L, CondI, LI); in unswitchBestCondition()
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp566 if (auto *CondI = in processNode() local
570 if (SimpleValue::canHandle(CondI)) in processNode()
571 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp618 MachineInstr *CondI = MRI->getVRegDef(PredReg); in getLoopTripCount() local
619 unsigned CondOpc = CondI->getOpcode(); in getLoopTripCount()
624 TII->analyzeCompare(*CondI, CmpReg1, CmpReg2, Mask, ImmValue); in getLoopTripCount()
630 OldInsts.push_back(CondI); in getLoopTripCount()
640 const MachineOperand &Op1 = CondI->getOperand(1); in getLoopTripCount()
641 const MachineOperand &Op2 = CondI->getOperand(2); in getLoopTripCount()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp651 MachineInstr *CondI = MRI->getVRegDef(PredReg); in getLoopTripCount() local
652 unsigned CondOpc = CondI->getOpcode(); in getLoopTripCount()
657 TII->analyzeCompare(*CondI, CmpReg1, CmpReg2, Mask, ImmValue); in getLoopTripCount()
663 OldInsts.push_back(CondI); in getLoopTripCount()
673 const MachineOperand &Op1 = CondI->getOperand(1); in getLoopTripCount()
674 const MachineOperand &Op2 = CondI->getOperand(2); in getLoopTripCount()