Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp1260 auto *CondI = dyn_cast<Instruction>(Assume->getArgOperand(0)); in processNode() local
1261 if (CondI && SimpleValue::canHandle(CondI)) { in processNode()
1264 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
1316 if (auto *CondI = in processNode() local
1318 if (SimpleValue::canHandle(CondI)) { in processNode()
1320 if (auto *KnownCond = AvailableValues.lookup(CondI)) { in processNode()
1337 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
H A DLoopInterchange.cpp1354 Instruction *CondI = dyn_cast<Instruction>( in transform() local
1357 if (CondI) in transform()
1358 WorkList.insert(CondI); in transform()
H A DSimpleLoopUnswitch.cpp2782 Instruction &CondI = *cast<Instruction>(Cond); in unswitchBestCondition() local
2783 if (match(&CondI, m_CombineOr(m_LogicalAnd(), m_LogicalOr()))) { in unswitchBestCondition()
2785 collectHomogenousInstGraphLoopInvariants(L, CondI, LI); in unswitchBestCondition()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A 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()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1716 auto *CondI = dyn_cast<CmpInst>(TI->getCondition()); in hasPartialIVCondition() local
1719 if (!CondI || !L.contains(CondI)) in hasPartialIVCondition()
1723 InstToDuplicate.push_back(CondI); in hasPartialIVCondition()
1726 WorkList.append(CondI->op_begin(), CondI->op_end()); in hasPartialIVCondition()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp609 const Instruction *CondI = dyn_cast<Instruction>(CondVal); in translateBr() local
610 if (!TLI.isJumpExpensive() && CondI && CondI->hasOneUse() && in translateBr()
615 if (match(CondI, m_LogicalAnd(m_Value(BOp0), m_Value(BOp1)))) in translateBr()
617 else if (match(CondI, m_LogicalOr(m_Value(BOp0), m_Value(BOp1)))) in translateBr()
622 findMergedConditions(CondI, Succ0MBB, Succ1MBB, &CurMBB, &CurMBB, Opcode, in translateBr()
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DRecord.cpp2168 if (IntInit *CondI = dyn_cast_or_null<IntInit>( in Fold() local
2170 if (CondI->getValue()) in Fold()