Searched refs:TrueC (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12-stable/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
| D | MatchConsumer.h | 47 MatchConsumer<T> ifBound(std::string ID, MatchConsumer<T> TrueC, in ifBound() argument 51 return (Map.find(ID) != Map.end() ? TrueC : FalseC)(Result); in ifBound()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| D | InlineCost.cpp | 2135 Constant *TrueC = dyn_cast<Constant>(TrueVal); in visitSelectInst() local 2136 if (!TrueC) in visitSelectInst() 2137 TrueC = SimplifiedValues.lookup(TrueVal); in visitSelectInst() 2146 if (TrueC == FalseC && TrueC) { in visitSelectInst() 2147 SimplifiedValues[&SI] = TrueC; in visitSelectInst() 2177 if (TrueC && FalseC) { in visitSelectInst() 2178 if (auto *C = ConstantExpr::getSelect(CondC, TrueC, FalseC)) { in visitSelectInst()
|
| D | InstructionSimplify.cpp | 4207 if (auto *TrueC = dyn_cast<Constant>(TrueVal)) in SimplifySelectInst() local 4209 return ConstantFoldSelectInstruction(CondC, TrueC, FalseC); in SimplifySelectInst() 4259 Constant *TrueC, *FalseC; in SimplifySelectInst() local 4261 match(TrueVal, m_Constant(TrueC)) && in SimplifySelectInst() 4264 cast<FixedVectorType>(TrueC->getType())->getNumElements(); in SimplifySelectInst() 4268 Constant *TEltC = TrueC->getAggregateElement(i); in SimplifySelectInst()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| D | InstructionCombining.cpp | 1875 Constant *TrueC, *FalseC; in foldSelectGEP() local 1878 m_Select(m_Value(Cond), m_Constant(TrueC), m_Constant(FalseC)))) in foldSelectGEP() 1887 Value *NewTrueC = IsInBounds ? Builder.CreateInBoundsGEP(Ty, TrueC, IndexC) in foldSelectGEP() 1888 : Builder.CreateGEP(Ty, TrueC, IndexC); in foldSelectGEP()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
| D | Constants.cpp | 869 ConstantInt *TrueC = ConstantInt::getTrue(Ty->getContext()); in getTrue() local 871 return ConstantVector::getSplat(VTy->getElementCount(), TrueC); in getTrue() 872 return TrueC; in getTrue()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
| D | MipsISelLowering.cpp | 720 ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(True); in performSELECTCombine() local 722 if (!TrueC || !True.getValueType().isInteger()) in performSELECTCombine() 731 int64_t Diff = TrueC->getSExtValue() - FalseC->getSExtValue(); in performSELECTCombine()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| D | X86ISelLowering.cpp | 41540 auto *TrueC = dyn_cast<ConstantSDNode>(LHS); in combineSelectOfTwoConstants() local 41542 if (!TrueC || !FalseC) in combineSelectOfTwoConstants() 41560 const APInt &TrueVal = TrueC->getAPIntValue(); in combineSelectOfTwoConstants() 41577 std::swap(TrueC, FalseC); in combineSelectOfTwoConstants() 42913 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(TrueOp)) { in combineCMov() local 42917 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in combineCMov() 42919 std::swap(TrueC, FalseC); in combineCMov() 42926 if (FalseC->getAPIntValue() == 0 && TrueC->getAPIntValue().isPowerOf2()) { in combineCMov() 42930 Cond = DAG.getNode(ISD::ZERO_EXTEND, DL, TrueC->getValueType(0), Cond); in combineCMov() 42932 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in combineCMov() [all …]
|