Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSelectOptimize.cpp139 unsigned CondIdx; member in __anon135b54a50111::SelectOptimizeImpl::SelectLike
142 SelectLike(Instruction *I, bool Inverted = false, unsigned CondIdx = 0) in SelectLike() argument
143 : I(I), Inverted(Inverted), CondIdx(CondIdx) {} in SelectLike()
150 unsigned getConditionOpIndex() { return CondIdx; }; in getConditionOpIndex()
181 return BO->getOperand(1 - CondIdx); in getFalseValue()
210 if (auto *OpI = dyn_cast<Instruction>(I->getOperand(1 - CondIdx))) { in getOpCostOnBranch()
498 auto CondIdx = SI.getConditionOpIndex(); in getTrueOrFalseValue() local
499 auto *AuxI = cast<Instruction>(CBO->getOperand(CondIdx)); in getTrueOrFalseValue()
501 CBO->setOperand(CondIdx, ConstantInt::get(CBO->getType(), 1)); in getTrueOrFalseValue()
505 CBO->setOperand(CondIdx, ConstantInt::getAllOnesValue(CBO->getType())); in getTrueOrFalseValue()
[all …]