/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 479 APInt ResultVal = APInt(IntType->getBitWidth(), 0); in FoldReinterpretLoadFromConstPtr() local 481 ResultVal = RawBytes[BytesLoaded - 1]; in FoldReinterpretLoadFromConstPtr() 483 ResultVal <<= 8; in FoldReinterpretLoadFromConstPtr() 484 ResultVal |= RawBytes[BytesLoaded - 1 - i]; in FoldReinterpretLoadFromConstPtr() 487 ResultVal = RawBytes[0]; in FoldReinterpretLoadFromConstPtr() 489 ResultVal <<= 8; in FoldReinterpretLoadFromConstPtr() 490 ResultVal |= RawBytes[i]; in FoldReinterpretLoadFromConstPtr() 494 return ConstantInt::get(IntType->getContext(), ResultVal); in FoldReinterpretLoadFromConstPtr()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleSValBuilder.cpp | 659 SVal ResultVal = in evalBinOpLL() local 661 if (Optional<NonLoc> Result = ResultVal.getAs<NonLoc>()) in evalBinOpLL() 664 assert(!ResultVal.getAs<Loc>() && "Loc-Loc ops should not produce Locs"); in evalBinOpLL()
|
D | ExprEngine.cpp | 2108 SVal ResultVal = UnknownVal(); in VisitAtomicExpr() local 2109 State = State->BindExpr(AE, LCtx, ResultVal); in VisitAtomicExpr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 588 APInt ResultVal = APInt(IntType->getBitWidth(), 0); in FoldReinterpretLoadFromConstPtr() local 590 ResultVal = RawBytes[BytesLoaded - 1]; in FoldReinterpretLoadFromConstPtr() 592 ResultVal <<= 8; in FoldReinterpretLoadFromConstPtr() 593 ResultVal |= RawBytes[BytesLoaded - 1 - i]; in FoldReinterpretLoadFromConstPtr() 596 ResultVal = RawBytes[0]; in FoldReinterpretLoadFromConstPtr() 598 ResultVal <<= 8; in FoldReinterpretLoadFromConstPtr() 599 ResultVal |= RawBytes[i]; in FoldReinterpretLoadFromConstPtr() 603 return ConstantInt::get(IntType->getContext(), ResultVal); in FoldReinterpretLoadFromConstPtr()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 637 APInt ResultVal = APInt(IntType->getBitWidth(), 0); in FoldReinterpretLoadFromConstPtr() local 639 ResultVal = RawBytes[BytesLoaded - 1]; in FoldReinterpretLoadFromConstPtr() 641 ResultVal <<= 8; in FoldReinterpretLoadFromConstPtr() 642 ResultVal |= RawBytes[BytesLoaded - 1 - i]; in FoldReinterpretLoadFromConstPtr() 645 ResultVal = RawBytes[0]; in FoldReinterpretLoadFromConstPtr() 647 ResultVal <<= 8; in FoldReinterpretLoadFromConstPtr() 648 ResultVal |= RawBytes[i]; in FoldReinterpretLoadFromConstPtr() 652 return ConstantInt::get(IntType->getContext(), ResultVal); in FoldReinterpretLoadFromConstPtr()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | SimpleSValBuilder.cpp | 902 SVal ResultVal = in evalBinOpLL() local 904 if (Optional<NonLoc> Result = ResultVal.getAs<NonLoc>()) in evalBinOpLL() 907 assert(!ResultVal.getAs<Loc>() && "Loc-Loc ops should not produce Locs"); in evalBinOpLL()
|
D | ExprEngine.cpp | 2763 SVal ResultVal = UnknownVal(); in VisitAtomicExpr() local 2764 State = State->BindExpr(AE, LCtx, ResultVal); in VisitAtomicExpr()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 1731 llvm::Value *ResultVal = MaskedVal; in EmitStoreThroughBitfieldLValue() local 1738 ResultVal = Builder.CreateShl(ResultVal, HighBits, "bf.result.shl"); in EmitStoreThroughBitfieldLValue() 1739 ResultVal = Builder.CreateAShr(ResultVal, HighBits, "bf.result.ashr"); in EmitStoreThroughBitfieldLValue() 1743 ResultVal = Builder.CreateIntCast(ResultVal, ResLTy, Info.IsSigned, in EmitStoreThroughBitfieldLValue() 1745 *Result = EmitFromMemory(ResultVal, Dst.getType()); in EmitStoreThroughBitfieldLValue()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExpr.cpp | 2229 llvm::Value *ResultVal = MaskedVal; in EmitStoreThroughBitfieldLValue() local 2236 ResultVal = Builder.CreateShl(ResultVal, HighBits, "bf.result.shl"); in EmitStoreThroughBitfieldLValue() 2237 ResultVal = Builder.CreateAShr(ResultVal, HighBits, "bf.result.ashr"); in EmitStoreThroughBitfieldLValue() 2241 ResultVal = Builder.CreateIntCast(ResultVal, ResLTy, Info.IsSigned, in EmitStoreThroughBitfieldLValue() 2243 *Result = EmitFromMemory(ResultVal, Dst.getType()); in EmitStoreThroughBitfieldLValue()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 3312 llvm::APInt ResultVal(Context.getTargetInfo().getLongLongWidth(), 0); in ActOnNumericConstant() local 3313 if (Literal.GetIntegerValue(ResultVal)) in ActOnNumericConstant() 3316 Lit = IntegerLiteral::Create(Context, ResultVal, CookedTy, in ActOnNumericConstant() 3408 llvm::APInt ResultVal(MaxWidth, 0); in ActOnNumericConstant() local 3410 if (Literal.GetIntegerValue(ResultVal)) { in ActOnNumericConstant() 3415 assert(Context.getTypeSize(Ty) == ResultVal.getBitWidth() && in ActOnNumericConstant() 3445 if (ResultVal.isIntN(IntSize)) { in ActOnNumericConstant() 3447 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant() 3460 if (ResultVal.isIntN(LongSize)) { in ActOnNumericConstant() 3462 if (!Literal.isUnsigned && ResultVal[LongSize-1] == 0) in ActOnNumericConstant() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringChecker.cpp | 1992 SVal ResultVal = SVB.conjureSymbolVal(nullptr, CE, LCtx, C.blockCount()); in evalStdCopyCommon() local 1993 State = State->BindExpr(CE, LCtx, ResultVal); in evalStdCopyCommon()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExpr.cpp | 3728 llvm::APInt ResultVal(Context.getTargetInfo().getLongLongWidth(), 0); in ActOnNumericConstant() local 3729 if (Literal.GetIntegerValue(ResultVal)) in ActOnNumericConstant() 3732 Lit = IntegerLiteral::Create(Context, ResultVal, CookedTy, in ActOnNumericConstant() 3871 llvm::APInt ResultVal(MaxWidth, 0); in ActOnNumericConstant() local 3873 if (Literal.GetIntegerValue(ResultVal)) { in ActOnNumericConstant() 3878 assert(Context.getTypeSize(Ty) == ResultVal.getBitWidth() && in ActOnNumericConstant() 3908 if (ResultVal.isIntN(IntSize)) { in ActOnNumericConstant() 3910 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant() 3923 if (ResultVal.isIntN(LongSize)) { in ActOnNumericConstant() 3925 if (!Literal.isUnsigned && ResultVal[LongSize-1] == 0) in ActOnNumericConstant() [all …]
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringChecker.cpp | 2161 SVal ResultVal = SVB.conjureSymbolVal(nullptr, CE, LCtx, C.blockCount()); in evalStdCopyCommon() local 2162 State = State->BindExpr(CE, LCtx, ResultVal); in evalStdCopyCommon()
|
/external/llvm-project/clang/lib/AST/ |
D | ExprConstant.cpp | 7037 APValue ResultVal(APValue::UninitStruct(), NumBases, in visit() local 7053 ResultVal.getStructBase(I) = *SubObj; in visit() 7078 ResultVal.getStructField(FieldIdx) = *SubObj; in visit() 7082 return ResultVal; in visit()
|