/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.cc | 179 Value LHSVal(Data->Type, LHS); in handleDivremOverflowImpl() local 198 << LHSVal << Data->Type; in handleDivremOverflowImpl() 223 Value LHSVal(Data->LHSType, LHS); in handleShiftOutOfBoundsImpl() local 245 if (LHSVal.isNegative()) in handleShiftOutOfBoundsImpl() 246 Diag(Loc, DL_Error, "left shift of negative value %0") << LHSVal; in handleShiftOutOfBoundsImpl() 250 << LHSVal << RHSVal << Data->LHSType; in handleShiftOutOfBoundsImpl()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 29 Value *LHSVal = FirstInst->getOperand(0); in FoldPHIArgBinOpIntoPHI() local 32 Type *LHSType = LHSVal->getType(); in FoldPHIArgBinOpIntoPHI() 67 if (I->getOperand(0) != LHSVal) LHSVal = nullptr; in FoldPHIArgBinOpIntoPHI() 75 if (!LHSVal && !RHSVal) in FoldPHIArgBinOpIntoPHI() 83 if (!LHSVal) { in FoldPHIArgBinOpIntoPHI() 88 LHSVal = NewLHS; in FoldPHIArgBinOpIntoPHI() 116 LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI() 123 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI()
|
/external/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 857 ComplexPairTy LHSVal = EmitLoadOfLValue(LHS, Loc); in EmitCompoundAssignLValue() local 858 OpInfo.LHS = EmitComplexToComplexCast(LHSVal, LHSTy, OpInfo.Ty, Loc); in EmitCompoundAssignLValue() 860 llvm::Value *LHSVal = CGF.EmitLoadOfScalar(LHS, Loc); in EmitCompoundAssignLValue() local 865 LHSVal = CGF.EmitScalarConversion(LHSVal, LHSTy, ComplexElementTy, Loc); in EmitCompoundAssignLValue() 866 OpInfo.LHS = ComplexPairTy(LHSVal, nullptr); in EmitCompoundAssignLValue() 868 OpInfo.LHS = EmitScalarToComplexCast(LHSVal, LHSTy, OpInfo.Ty, Loc); in EmitCompoundAssignLValue()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineC.cpp | 155 SVal LHSVal; in VisitBinaryOperator() local 161 LHSVal = svalBuilder.conjureSymbolVal(nullptr, B->getRHS(), LCtx, LTy, in VisitBinaryOperator() 164 Result = svalBuilder.evalCast(LHSVal, CTy, LTy); in VisitBinaryOperator() 169 LHSVal = svalBuilder.evalCast(Result, LTy, CTy); in VisitBinaryOperator() 179 evalStore(Tmp2, B, LHS, *I, state, location, LHSVal); in VisitBinaryOperator()
|
/external/llvm/lib/Analysis/ |
D | LazyValueInfo.cpp | 823 LVILatticeVal LHSVal = getBlockValue(BBI->getOperand(0), BB); in solveBlockValueConstantRange() local 824 mergeAssumeBlockValueConstantRange(BBI->getOperand(0), LHSVal, BBI); in solveBlockValueConstantRange() 825 if (!LHSVal.isConstantRange()) { in solveBlockValueConstantRange() 830 ConstantRange LHSRange = LHSVal.getConstantRange(); in solveBlockValueConstantRange()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 375 Sema::ActOnCaseStmt(SourceLocation CaseLoc, Expr *LHSVal, in ActOnCaseStmt() argument 378 assert(LHSVal && "missing expression in case statement"); in ActOnCaseStmt() 386 CorrectDelayedTyposInExpr(LHSVal, [this](class Expr *E) { in ActOnCaseStmt() 400 LHSVal = LHS.get(); in ActOnCaseStmt() 405 if (!LHSVal->isTypeDependent() && !LHSVal->isValueDependent()) { in ActOnCaseStmt() 406 LHSVal = VerifyIntegerConstantExpression(LHSVal).get(); in ActOnCaseStmt() 407 if (!LHSVal) in ActOnCaseStmt() 419 LHS = ActOnFinishFullExpr(LHSVal, LHSVal->getExprLoc(), false, in ActOnCaseStmt()
|
/external/llvm/include/llvm/TableGen/ |
D | Record.h | 1564 unsigned LHSVal, RHSVal; in operator() local 1566 bool LHSFailed = LHSPart.second.getAsInteger(10, LHSVal); (void)LHSFailed; in operator() 1571 if (LHSVal != RHSVal) in operator() 1572 return LHSVal < RHSVal; in operator()
|
/external/llvm/lib/Target/PowerPC/AsmParser/ |
D | PPCAsmParser.cpp | 221 int64_t LHSVal = EvaluateCRExpr(BE->getLHS()); in EvaluateCRExpr() local 225 if (LHSVal < 0 || RHSVal < 0) in EvaluateCRExpr() 230 case MCBinaryExpr::Add: Res = LHSVal + RHSVal; break; in EvaluateCRExpr() 231 case MCBinaryExpr::Mul: Res = LHSVal * RHSVal; break; in EvaluateCRExpr()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 7082 const APValue &LHSVal = LHSResult.Val; in VisitBinOp() local 7086 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) { in VisitBinOp() 7087 Result = LHSVal; in VisitBinOp() 7099 RHSVal.isLValue() && LHSVal.isInt()) { in VisitBinOp() 7102 CharUnits::fromQuantity(LHSVal.getInt().getZExtValue()); in VisitBinOp() 7106 if (E->getOpcode() == BO_Sub && LHSVal.isLValue() && RHSVal.isLValue()) { in VisitBinOp() 7108 if (!LHSVal.getLValueOffset().isZero() || in VisitBinOp() 7111 const Expr *LHSExpr = LHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() 7128 if (!LHSVal.isInt() || !RHSVal.isInt()) in VisitBinOp() 7136 if (!handleIntIntBinOp(Info, E, LHSVal.getInt(), E->getOpcode(), in VisitBinOp()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 2445 SDValue LHSVal = getValue(I.getOperand(1)); in visitSelect() local 2523 LHSVal = getValue(LHS); in visitSelect() 2531 Ops.push_back(SDValue(LHSVal.getNode(), LHSVal.getResNo() + i)); in visitSelect() 2534 LHSVal.getNode()->getValueType(LHSVal.getResNo()+i), in visitSelect() 5549 SDValue LHSVal = getMemCmpLoad(LHS, LoadVT, LoadTy, *this); in visitMemCmpCall() local 5552 SDValue Res = DAG.getSetCC(getCurSDLoc(), MVT::i1, LHSVal, RHSVal, in visitMemCmpCall()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3301 StmtResult ActOnCaseStmt(SourceLocation CaseLoc, Expr *LHSVal,
|