Searched refs:CondIdx (Results 1 – 1 of 1) sorted by relevance
139 unsigned CondIdx; member in __anon135b54a50111::SelectOptimizeImpl::SelectLike142 SelectLike(Instruction *I, bool Inverted = false, unsigned CondIdx = 0) in SelectLike() argument143 : 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() local499 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 …]