Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp787 bool ConstIsRHS = isa<Constant>(I.getOperand(1)); in foldOperationIntoSelectOperand() local
788 Constant *ConstOperand = cast<Constant>(I.getOperand(ConstIsRHS)); in foldOperationIntoSelectOperand()
791 if (ConstIsRHS) in foldOperationIntoSelectOperand()
797 if (!ConstIsRHS) in foldOperationIntoSelectOperand()
861 bool ConstIsRHS = isa<Constant>(I->getOperand(1)); in foldOperationIntoPhiValue() local
862 Constant *C = cast<Constant>(I->getOperand(ConstIsRHS)); in foldOperationIntoPhiValue()
865 if (ConstIsRHS) in foldOperationIntoPhiValue()
871 if (!ConstIsRHS) in foldOperationIntoPhiValue()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstructionCombining.cpp526 bool ConstIsRHS = isa<Constant>(I.getOperand(1)); in FoldOperationIntoSelectOperand() local
527 Constant *ConstOperand = cast<Constant>(I.getOperand(ConstIsRHS)); in FoldOperationIntoSelectOperand()
530 if (ConstIsRHS) in FoldOperationIntoSelectOperand()
536 if (!ConstIsRHS) in FoldOperationIntoSelectOperand()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp702 bool ConstIsRHS = isa<Constant>(I.getOperand(1)); in FoldOperationIntoSelectOperand() local
703 Constant *ConstOperand = cast<Constant>(I.getOperand(ConstIsRHS)); in FoldOperationIntoSelectOperand()
706 if (ConstIsRHS) in FoldOperationIntoSelectOperand()
712 if (!ConstIsRHS) in FoldOperationIntoSelectOperand()