Home
last modified time | relevance | path

Searched refs:LHSVal (Results 1 – 11 of 11) sorted by relevance

/external/compiler-rt/lib/ubsan/
Dubsan_handlers.cc179 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/
DInstCombinePHI.cpp29 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/
DCGExprComplex.cpp857 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/
DExprEngineC.cpp155 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/
DLazyValueInfo.cpp823 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/
DSemaStmt.cpp375 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/
DRecord.h1564 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/
DPPCAsmParser.cpp221 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/
DExprConstant.cpp7082 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/
DSelectionDAGBuilder.cpp2445 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/
DSema.h3301 StmtResult ActOnCaseStmt(SourceLocation CaseLoc, Expr *LHSVal,