Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp867 bool ConstIsRHS = isa<Constant>(I.getOperand(1)); in foldOperationIntoSelectOperand() local
868 Constant *ConstOperand = cast<Constant>(I.getOperand(ConstIsRHS)); in foldOperationIntoSelectOperand()
871 if (ConstIsRHS) in foldOperationIntoSelectOperand()
877 if (!ConstIsRHS) in foldOperationIntoSelectOperand()
941 bool ConstIsRHS = isa<Constant>(I->getOperand(1)); in foldOperationIntoPhiValue() local
942 Constant *C = cast<Constant>(I->getOperand(ConstIsRHS)); in foldOperationIntoPhiValue()
945 if (ConstIsRHS) in foldOperationIntoPhiValue()
951 if (!ConstIsRHS) in foldOperationIntoPhiValue()