Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp214 if (Instruction *TVI = dyn_cast<Instruction>(TrueVal)) { in FoldSelectIntoOp() local
215 if (TVI->hasOneUse() && TVI->getNumOperands() == 2 && in FoldSelectIntoOp()
217 if (unsigned SFO = GetSelectFoldableOperands(TVI)) { in FoldSelectIntoOp()
219 if ((SFO & 1) && FalseVal == TVI->getOperand(0)) { in FoldSelectIntoOp()
221 } else if ((SFO & 2) && FalseVal == TVI->getOperand(1)) { in FoldSelectIntoOp()
226 Constant *C = GetSelectFoldableConstant(TVI); in FoldSelectIntoOp()
227 Value *OOp = TVI->getOperand(2-OpToFold); in FoldSelectIntoOp()
232 NewSel->takeName(TVI); in FoldSelectIntoOp()
233 BinaryOperator *TVI_BO = cast<BinaryOperator>(TVI); in FoldSelectIntoOp()
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp412 for (SmallVector<MVT::SimpleValueType, 2>::iterator TVI = in EnforceSmallerThan() local
414 TVI != Other.TypeVec.end(); in EnforceSmallerThan()
416 if (isInteger(*TVI)) { in EnforceSmallerThan()
418 if (*TVI == SmallestInt) { in EnforceSmallerThan()
419 TVI = Other.TypeVec.erase(TVI); in EnforceSmallerThan()
425 else if (isFloatingPoint(*TVI)) { in EnforceSmallerThan()
427 if (*TVI == SmallestFP) { in EnforceSmallerThan()
428 TVI = Other.TypeVec.erase(TVI); in EnforceSmallerThan()
434 ++TVI; in EnforceSmallerThan()
468 for (SmallVector<MVT::SimpleValueType, 2>::iterator TVI = in EnforceSmallerThan() local
[all …]