Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp1405 auto *CondI = dyn_cast<Instruction>(Assume->getArgOperand(0)); in processNode() local
1406 if (CondI && SimpleValue::canHandle(CondI)) { in processNode()
1409 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
1461 if (auto *CondI = in processNode() local
1463 if (SimpleValue::canHandle(CondI)) { in processNode()
1465 if (auto *KnownCond = AvailableValues.lookup(CondI)) { in processNode()
1482 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
H A DLoopInterchange.cpp1347 Instruction *CondI = dyn_cast<Instruction>( in transform() local
1350 if (CondI) in transform()
1351 WorkList.insert(CondI); in transform()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp2006 auto *CondI = dyn_cast<Instruction>(TI->getCondition()); in hasPartialIVCondition() local
2011 if (!CondI || !isa<CmpInst, TruncInst>(CondI) || !L.contains(CondI)) in hasPartialIVCondition()
2015 InstToDuplicate.push_back(CondI); in hasPartialIVCondition()
2018 WorkList.append(CondI->op_begin(), CondI->op_end()); in hasPartialIVCondition()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp617 const Instruction *CondI = dyn_cast<Instruction>(CondVal); in translateBr() local
618 if (!TLI->isJumpExpensive() && CondI && CondI->hasOneUse() && in translateBr()
623 if (match(CondI, m_LogicalAnd(m_Value(BOp0), m_Value(BOp1)))) in translateBr()
625 else if (match(CondI, m_LogicalOr(m_Value(BOp0), m_Value(BOp1)))) in translateBr()
630 findMergedConditions(CondI, Succ0MBB, Succ1MBB, &CurMBB, &CurMBB, Opcode, in translateBr()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp5795 unsigned CondI = findCondCodeInd(Operands, MnemonicOpsEndInd); in cvtThumbMultiply() local
5832 if (CondI != 0) { in cvtThumbMultiply()
5833 ((ARMOperand &)*Operands[CondI]).addCondCodeOperands(Inst, 2); in cvtThumbMultiply()
5844 unsigned CondI = findCondCodeInd(Operands, MnemonicOpsEndInd); in cvtThumbBranches() local
5846 (CondI == 0 ? ARMCC::AL in cvtThumbBranches()
5847 : static_cast<ARMOperand &>(*Operands[CondI]).getCondCode()); in cvtThumbBranches()
5889 if (CondI != 0) { in cvtThumbBranches()
5890 ((ARMOperand &)*Operands[CondI]).addCondCodeOperands(Inst, 2); in cvtThumbBranches()
5902 unsigned CondI = findCondCodeInd(Operands, MnemonicOpsEndInd); in cvtMVEVMOVQtoDReg() local
5917 if (CondI != 0) { in cvtMVEVMOVQtoDReg()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp7015 if (auto *CondI = dyn_cast<Instruction>(Term->getOperand(0))) { in cost() local
7016 ExitInstrs.insert(CondI); in cost()
7021 Instruction *CondI = ExitInstrs[I]; in cost() local
7022 if (!OrigLoop->contains(CondI) || in cost()
7023 !CostCtx.SkipCostComputation.insert(CondI).second) in cost()
7025 Cost += CostCtx.getLegacyCost(CondI, VF); in cost()
7026 for (Value *Op : CondI->operands()) { in cost()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp2490 if (IntInit *CondI = dyn_cast_or_null<IntInit>( in Fold() local
2492 if (CondI->getValue()) in Fold()