Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Transformer/
H A DMatchConsumer.h47 MatchConsumer<T> ifBound(std::string ID, MatchConsumer<T> TrueC, in ifBound() argument
51 return (Map.find(ID) != Map.end() ? TrueC : FalseC)(Result); in ifBound()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInlineCost.cpp1917 Constant *TrueC = dyn_cast<Constant>(TrueVal); in visitSelectInst() local
1918 if (!TrueC) in visitSelectInst()
1919 TrueC = SimplifiedValues.lookup(TrueVal); in visitSelectInst()
1928 if (TrueC == FalseC && TrueC) { in visitSelectInst()
1929 SimplifiedValues[&SI] = TrueC; in visitSelectInst()
1959 if (TrueC && FalseC) { in visitSelectInst()
1960 if (auto *C = ConstantExpr::getSelect(CondC, TrueC, FalseC)) { in visitSelectInst()
H A DInstructionSimplify.cpp4144 if (auto *TrueC = dyn_cast<Constant>(TrueVal)) in SimplifySelectInst() local
4146 return ConstantFoldSelectInstruction(CondC, TrueC, FalseC); in SimplifySelectInst()
4187 Constant *TrueC, *FalseC; in SimplifySelectInst() local
4189 match(TrueVal, m_Constant(TrueC)) && in SimplifySelectInst()
4192 cast<FixedVectorType>(TrueC->getType())->getNumElements(); in SimplifySelectInst()
4196 Constant *TEltC = TrueC->getAggregateElement(i); in SimplifySelectInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1834 Constant *TrueC, *FalseC; in foldSelectGEP() local
1837 m_Select(m_Value(Cond), m_Constant(TrueC), m_Constant(FalseC)))) in foldSelectGEP()
1846 Value *NewTrueC = IsInBounds ? Builder.CreateInBoundsGEP(Ty, TrueC, IndexC) in foldSelectGEP()
1847 : Builder.CreateGEP(Ty, TrueC, IndexC); in foldSelectGEP()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstants.cpp867 ConstantInt *TrueC = ConstantInt::getTrue(Ty->getContext()); in getTrue() local
869 return ConstantVector::getSplat(VTy->getElementCount(), TrueC); in getTrue()
870 return TrueC; in getTrue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp720 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp41279 auto *TrueC = dyn_cast<ConstantSDNode>(LHS); in combineSelectOfTwoConstants() local
41281 if (!TrueC || !FalseC) in combineSelectOfTwoConstants()
41299 const APInt &TrueVal = TrueC->getAPIntValue(); in combineSelectOfTwoConstants()
41316 std::swap(TrueC, FalseC); in combineSelectOfTwoConstants()
42594 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(TrueOp)) { in combineCMov() local
42598 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in combineCMov()
42600 std::swap(TrueC, FalseC); in combineCMov()
42607 if (FalseC->getAPIntValue() == 0 && TrueC->getAPIntValue().isPowerOf2()) { in combineCMov()
42611 Cond = DAG.getNode(ISD::ZERO_EXTEND, DL, TrueC->getValueType(0), Cond); in combineCMov()
42613 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in combineCMov()
[all …]