Searched refs:ResultVal (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 437 APInt ResultVal = APInt(IntType->getBitWidth(), 0); in FoldReinterpretLoadFromConstPtr() local 439 ResultVal = RawBytes[BytesLoaded - 1]; in FoldReinterpretLoadFromConstPtr() 441 ResultVal <<= 8; in FoldReinterpretLoadFromConstPtr() 442 ResultVal |= RawBytes[BytesLoaded-1-i]; in FoldReinterpretLoadFromConstPtr() 445 ResultVal = RawBytes[0]; in FoldReinterpretLoadFromConstPtr() 447 ResultVal <<= 8; in FoldReinterpretLoadFromConstPtr() 448 ResultVal |= RawBytes[i]; in FoldReinterpretLoadFromConstPtr() 452 return ConstantInt::get(IntType->getContext(), ResultVal); in FoldReinterpretLoadFromConstPtr()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 2467 Value *ResultVal = in RewriteLoadUserOfWholeAlloca() local 2497 if (SrcField->getType() != ResultVal->getType()) in RewriteLoadUserOfWholeAlloca() 2498 SrcField = new ZExtInst(SrcField, ResultVal->getType(), "", LI); in RewriteLoadUserOfWholeAlloca() 2516 if (!isa<Constant>(ResultVal) || in RewriteLoadUserOfWholeAlloca() 2517 !cast<Constant>(ResultVal)->isNullValue()) in RewriteLoadUserOfWholeAlloca() 2518 ResultVal = BinaryOperator::CreateOr(SrcField, ResultVal, "", LI); in RewriteLoadUserOfWholeAlloca() 2520 ResultVal = SrcField; in RewriteLoadUserOfWholeAlloca() 2525 ResultVal = new TruncInst(ResultVal, LI->getType(), "", LI); in RewriteLoadUserOfWholeAlloca() 2527 LI->replaceAllUsesWith(ResultVal); in RewriteLoadUserOfWholeAlloca()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleSValBuilder.cpp | 634 SVal ResultVal = in evalBinOpLL() local 636 if (Optional<NonLoc> Result = ResultVal.getAs<NonLoc>()) in evalBinOpLL() 639 assert(!ResultVal.getAs<Loc>() && "Loc-Loc ops should not produce Locs"); in evalBinOpLL()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 1483 llvm::Value *ResultVal = MaskedVal; in EmitStoreThroughBitfieldLValue() local 1490 ResultVal = Builder.CreateShl(ResultVal, HighBits, "bf.result.shl"); in EmitStoreThroughBitfieldLValue() 1491 ResultVal = Builder.CreateAShr(ResultVal, HighBits, "bf.result.ashr"); in EmitStoreThroughBitfieldLValue() 1495 ResultVal = Builder.CreateIntCast(ResultVal, ResLTy, Info.IsSigned, in EmitStoreThroughBitfieldLValue() 1497 *Result = EmitFromMemory(ResultVal, Dst.getType()); in EmitStoreThroughBitfieldLValue()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 2961 llvm::APInt ResultVal(Context.getTargetInfo().getLongLongWidth(), 0); in ActOnNumericConstant() local 2962 if (Literal.GetIntegerValue(ResultVal)) in ActOnNumericConstant() 2964 Lit = IntegerLiteral::Create(Context, ResultVal, CookedTy, in ActOnNumericConstant() 3053 llvm::APInt ResultVal(MaxWidth, 0); in ActOnNumericConstant() local 3055 if (Literal.GetIntegerValue(ResultVal)) { in ActOnNumericConstant() 3059 assert(Context.getTypeSize(Ty) == ResultVal.getBitWidth() && in ActOnNumericConstant() 3076 if (ResultVal.isIntN(IntSize)) { in ActOnNumericConstant() 3078 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant() 3091 if (ResultVal.isIntN(LongSize)) { in ActOnNumericConstant() 3093 if (!Literal.isUnsigned && ResultVal[LongSize-1] == 0) in ActOnNumericConstant() [all …]
|