Searched refs:TrueC (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InlineCost.cpp | 1576 Constant *TrueC = dyn_cast<Constant>(TrueVal); in visitSelectInst() local 1577 if (!TrueC) in visitSelectInst() 1578 TrueC = SimplifiedValues.lookup(TrueVal); in visitSelectInst() 1587 if (TrueC == FalseC && TrueC) { in visitSelectInst() 1588 SimplifiedValues[&SI] = TrueC; in visitSelectInst() 1618 if (TrueC && FalseC) { in visitSelectInst() 1619 if (auto *C = ConstantExpr::getSelect(CondC, TrueC, FalseC)) { in visitSelectInst()
|
D | InstructionSimplify.cpp | 3981 if (auto *TrueC = dyn_cast<Constant>(TrueVal)) in SimplifySelectInst() local 3983 return ConstantFoldSelectInstruction(CondC, TrueC, FalseC); in SimplifySelectInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Constants.cpp | 676 ConstantInt *TrueC = ConstantInt::getTrue(Ty->getContext()); in getTrue() local 678 return ConstantVector::getSplat(VTy->getNumElements(), TrueC); in getTrue() 679 return TrueC; in getTrue()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 721 ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(True); in performSELECTCombine() local 723 if (!TrueC || !True.getValueType().isInteger()) in performSELECTCombine() 732 int64_t Diff = TrueC->getSExtValue() - FalseC->getSExtValue(); in performSELECTCombine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 37664 auto *TrueC = dyn_cast<ConstantSDNode>(LHS); in combineSelectOfTwoConstants() local 37666 if (!TrueC || !FalseC) in combineSelectOfTwoConstants() 37684 const APInt &TrueVal = TrueC->getAPIntValue(); in combineSelectOfTwoConstants() 37701 std::swap(TrueC, FalseC); in combineSelectOfTwoConstants() 38693 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(TrueOp)) { in combineCMov() local 38697 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in combineCMov() 38699 std::swap(TrueC, FalseC); in combineCMov() 38706 if (FalseC->getAPIntValue() == 0 && TrueC->getAPIntValue().isPowerOf2()) { in combineCMov() 38710 Cond = DAG.getNode(ISD::ZERO_EXTEND, DL, TrueC->getValueType(0), Cond); in combineCMov() 38712 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in combineCMov() [all …]
|