/external/compiler-rt/lib/ubsan/ |
ubsan_handlers.cc | 141 Value RHSVal(Data->Type, RHS); 142 if (RHSVal.isMinusOne()) 164 Value RHSVal(Data->RHSType, RHS); 165 if (RHSVal.isNegative()) 166 Diag(Loc, DL_Error, "shift exponent %0 is negative") << RHSVal; 167 else if (RHSVal.getPositiveIntValue() >= Data->LHSType.getIntegerBitWidth()) 170 << RHSVal << Data->LHSType.getIntegerBitWidth() << Data->LHSType; 176 << LHSVal << RHSVal << Data->LHSType;
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombinePHI.cpp | 29 Value *RHSVal = FirstInst->getOperand(1); 32 Type *RHSType = RHSVal->getType(); 67 if (I->getOperand(1) != RHSVal) RHSVal = 0; 74 if (!LHSVal && !RHSVal) 90 if (RHSVal == 0) { 95 RHSVal = NewRHS; 115 LHSVal, RHSVal); 122 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal); [all...] |
InstCombineSimplifyDemanded.cpp | 537 const APInt &RHSVal = RHS->getValue(); 538 APInt CarryBits((~LHSKnownZero + RHSVal) ^ (~LHSKnownZero ^ RHSVal)); 544 KnownOne = ((LHSKnownZero & RHSVal) | 545 (LHSKnownOne & ~RHSVal)) & ~CarryBits; 549 KnownZero = LHSKnownZero & ~RHSVal & ~CarryBits; [all...] |
InstCombineAddSub.cpp | 944 const APInt &RHSVal = CI->getValue(); 948 if (XorRHS->getValue() == -RHSVal) { 949 if (RHSVal.isPowerOf2()) 950 ExtendAmt = TySizeBits - RHSVal.logBase2() - 1; [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
IdempotentOperationChecker.cpp | 150 SVal RHSVal = state->getSVal(RHS, LCtx); 153 if (LHSVal.isUnknownOrUndef() || RHSVal.isUnknownOrUndef()) { 222 if (LHSVal != RHSVal || LHSContainsFalsePositive 241 if (!RHSVal.isConstant(1) || RHSContainsFalsePositive) 285 if (!RHSVal.isConstant(0) || RHSContainsFalsePositive)
|
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngineC.cpp | 546 SVal RHSVal = N->getState()->getSVal(RHS, Pred->getLocationContext()); 548 if (RHSVal.isUndef()) { 549 X = RHSVal; 551 DefinedOrUnknownSVal DefinedRHS = RHSVal.castAs<DefinedOrUnknownSVal>(); 558 X = getSValBuilder().evalCast(RHSVal, B->getType(), RHS->getType()); [all...] |
/external/clang/lib/Sema/ |
SemaStmt.cpp | 342 SourceLocation DotDotDotLoc, Expr *RHSVal, 362 if (RHSVal && !RHSVal->isTypeDependent() && !RHSVal->isValueDependent()) { 363 RHSVal = VerifyIntegerConstantExpression(RHSVal).take(); 370 if (RHSVal) 371 RHSVal = ActOnFinishFullExpr(RHSVal, RHSVal->getExprLoc(), false [all...] |
/external/oprofile/libpp/ |
arrange_profiles.cpp | 43 unsigned int rhsval = op_lexical_cast<unsigned int>(rhs); local 44 if (lhsval == rhsval) 46 if (lhsval < rhsval)
|
/external/llvm/include/llvm/TableGen/ |
Record.h | [all...] |
/external/llvm/lib/Target/PowerPC/AsmParser/ |
PPCAsmParser.cpp | 153 int64_t RHSVal = EvaluateCRExpr(BE->getRHS()); 156 if (LHSVal < 0 || RHSVal < 0) 161 case MCBinaryExpr::Add: Res = LHSVal + RHSVal; break; 162 case MCBinaryExpr::Mul: Res = LHSVal * RHSVal; break; [all...] |
/external/llvm/lib/Transforms/Utils/ |
SimplifyCFG.cpp | 349 Value *RHSVal; 356 m_And(m_Value(RHSVal), m_ConstantInt(RHSC)))) { 363 return RHSVal; 380 match(I->getOperand(0), m_Add(m_Value(RHSVal), m_ConstantInt(RHSC))); 396 return hasAdd ? RHSVal : I->getOperand(0); [all...] |
/external/clang/lib/AST/ |
ExprConstant.cpp | [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.cpp | [all...] |
/external/clang/include/clang/Sema/ |
Sema.h | [all...] |