Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1782 ConstantInt *LHSC = dyn_cast<ConstantInt>(LHSI->getOperand(0)); in visitICmpInstWithInstAndIntCst() local
1783 if (!LHSC) break; in visitICmpInstWithInstAndIntCst()
1784 const APInt &LHSV = LHSC->getValue(); in visitICmpInstWithInstAndIntCst()
1793 LHSC); in visitICmpInstWithInstAndIntCst()
1801 Builder->CreateOr(LHSI->getOperand(1), RHSV), LHSC); in visitICmpInstWithInstAndIntCst()
1808 ConstantInt *LHSC = dyn_cast<ConstantInt>(LHSI->getOperand(1)); in visitICmpInstWithInstAndIntCst() local
1809 if (!LHSC) break; in visitICmpInstWithInstAndIntCst()
1810 const APInt &LHSV = LHSC->getValue(); in visitICmpInstWithInstAndIntCst()
1840 ConstantExpr::getNeg(LHSC)); in visitICmpInstWithInstAndIntCst()
1849 ConstantExpr::getNeg(LHSC)); in visitICmpInstWithInstAndIntCst()
[all …]
DInstCombineAndOrXor.cpp1132 if (ConstantFP *LHSC = dyn_cast<ConstantFP>(LHS->getOperand(1))) in FoldAndOfFCmps() local
1136 if (LHSC->getValueAPF().isNaN() || RHSC->getValueAPF().isNaN()) in FoldAndOfFCmps()
2117 if (ConstantFP *LHSC = dyn_cast<ConstantFP>(LHS->getOperand(1))) in FoldOrOfFCmps() local
2121 if (LHSC->getValueAPF().isNaN() || RHSC->getValueAPF().isNaN()) in FoldOrOfFCmps()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp2007 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(Ops[0])) { in getAddExpr() local
2012 Ops[0] = getConstant(LHSC->getAPInt() + RHSC->getAPInt()); in getAddExpr()
2015 LHSC = cast<SCEVConstant>(Ops[0]); in getAddExpr()
2019 if (LHSC->getValue()->isZero()) { in getAddExpr()
2416 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(Ops[0])) { in getMulExpr() local
2425 return getAddExpr(getMulExpr(LHSC, Add->getOperand(0)), in getMulExpr()
2426 getMulExpr(LHSC, Add->getOperand(1))); in getMulExpr()
2432 ConstantInt::get(getContext(), LHSC->getAPInt() * RHSC->getAPInt()); in getMulExpr()
2436 LHSC = cast<SCEVConstant>(Ops[0]); in getMulExpr()
2732 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(LHS)) { in getUDivExpr() local
[all …]
/external/clang/lib/AST/
DASTContext.cpp4786 const Type *LHSC = getCanonicalType(LHS).getTypePtr(); in getIntegerTypeOrder() local
4790 if (const EnumType *ET = dyn_cast<EnumType>(LHSC)) in getIntegerTypeOrder()
4791 LHSC = getIntegerTypeForEnum(ET); in getIntegerTypeOrder()
4795 if (LHSC == RHSC) return 0; in getIntegerTypeOrder()
4797 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder()
4800 unsigned LHSRank = getIntegerRank(LHSC); in getIntegerTypeOrder()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp4154 if (ConstantFPSDNode *LHSC = dyn_cast<ConstantFPSDNode>(LHS)) { in expandPow() local
4156 IsExp10 = LHSC->isExactlyValue(Ten); in expandPow()