Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp1287 auto *CondI = dyn_cast<Instruction>(Assume->getArgOperand(0)); in processNode() local
1288 if (CondI && SimpleValue::canHandle(CondI)) { in processNode()
1291 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
1343 if (auto *CondI = in processNode() local
1345 if (SimpleValue::canHandle(CondI)) { in processNode()
1347 if (auto *KnownCond = AvailableValues.lookup(CondI)) { in processNode()
1364 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.cpp2815 Instruction &CondI = *cast<Instruction>(Cond); in collectUnswitchCandidates() local
2816 if (match(&CondI, m_CombineOr(m_LogicalAnd(), m_LogicalOr()))) { in collectUnswitchCandidates()
2818 collectHomogenousInstGraphLoopInvariants(L, CondI, LI); in collectUnswitchCandidates()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1713 auto *CondI = dyn_cast<CmpInst>(TI->getCondition()); in hasPartialIVCondition() local
1716 if (!CondI || !L.contains(CondI)) in hasPartialIVCondition()
1720 InstToDuplicate.push_back(CondI); in hasPartialIVCondition()
1723 WorkList.append(CondI->op_begin(), CondI->op_end()); in hasPartialIVCondition()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp655 MachineInstr *CondI = MRI->getVRegDef(PredReg); in getLoopTripCount() local
656 unsigned CondOpc = CondI->getOpcode(); in getLoopTripCount()
661 TII->analyzeCompare(*CondI, CmpReg1, CmpReg2, Mask, ImmValue); in getLoopTripCount()
667 OldInsts.push_back(CondI); in getLoopTripCount()
677 const MachineOperand &Op1 = CondI->getOperand(1); in getLoopTripCount()
678 const MachineOperand &Op2 = CondI->getOperand(2); in getLoopTripCount()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp614 const Instruction *CondI = dyn_cast<Instruction>(CondVal); in translateBr() local
615 if (!TLI.isJumpExpensive() && CondI && CondI->hasOneUse() && in translateBr()
620 if (match(CondI, m_LogicalAnd(m_Value(BOp0), m_Value(BOp1)))) in translateBr()
622 else if (match(CondI, m_LogicalOr(m_Value(BOp0), m_Value(BOp1)))) in translateBr()
627 findMergedConditions(CondI, Succ0MBB, Succ1MBB, &CurMBB, &CurMBB, Opcode, in translateBr()
/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DRecord.cpp2252 if (IntInit *CondI = dyn_cast_or_null<IntInit>( in Fold() local
2254 if (CondI->getValue()) in Fold()