Home
last modified time | relevance | path

Searched refs:ResultVal (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp2490 Value *ResultVal = in RewriteLoadUserOfWholeAlloca() local
2520 if (SrcField->getType() != ResultVal->getType()) in RewriteLoadUserOfWholeAlloca()
2521 SrcField = new ZExtInst(SrcField, ResultVal->getType(), "", LI); in RewriteLoadUserOfWholeAlloca()
2539 if (!isa<Constant>(ResultVal) || in RewriteLoadUserOfWholeAlloca()
2540 !cast<Constant>(ResultVal)->isNullValue()) in RewriteLoadUserOfWholeAlloca()
2541 ResultVal = BinaryOperator::CreateOr(SrcField, ResultVal, "", LI); in RewriteLoadUserOfWholeAlloca()
2543 ResultVal = SrcField; in RewriteLoadUserOfWholeAlloca()
2548 ResultVal = new TruncInst(ResultVal, LI->getType(), "", LI); in RewriteLoadUserOfWholeAlloca()
2550 LI->replaceAllUsesWith(ResultVal); in RewriteLoadUserOfWholeAlloca()
/external/llvm/lib/Analysis/
DConstantFolding.cpp463 APInt ResultVal = APInt(IntType->getBitWidth(), 0); in FoldReinterpretLoadFromConstPtr() local
465 ResultVal = RawBytes[BytesLoaded - 1]; in FoldReinterpretLoadFromConstPtr()
467 ResultVal <<= 8; in FoldReinterpretLoadFromConstPtr()
468 ResultVal |= RawBytes[BytesLoaded - 1 - i]; in FoldReinterpretLoadFromConstPtr()
471 ResultVal = RawBytes[0]; in FoldReinterpretLoadFromConstPtr()
473 ResultVal <<= 8; in FoldReinterpretLoadFromConstPtr()
474 ResultVal |= RawBytes[i]; in FoldReinterpretLoadFromConstPtr()
478 return ConstantInt::get(IntType->getContext(), ResultVal); in FoldReinterpretLoadFromConstPtr()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp659 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()
/external/clang/lib/CodeGen/
DCGExpr.cpp1706 llvm::Value *ResultVal = MaskedVal; in EmitStoreThroughBitfieldLValue() local
1713 ResultVal = Builder.CreateShl(ResultVal, HighBits, "bf.result.shl"); in EmitStoreThroughBitfieldLValue()
1714 ResultVal = Builder.CreateAShr(ResultVal, HighBits, "bf.result.ashr"); in EmitStoreThroughBitfieldLValue()
1718 ResultVal = Builder.CreateIntCast(ResultVal, ResLTy, Info.IsSigned, in EmitStoreThroughBitfieldLValue()
1720 *Result = EmitFromMemory(ResultVal, Dst.getType()); in EmitStoreThroughBitfieldLValue()
/external/clang/lib/Sema/
DSemaExpr.cpp3245 llvm::APInt ResultVal(Context.getTargetInfo().getLongLongWidth(), 0); in ActOnNumericConstant() local
3246 if (Literal.GetIntegerValue(ResultVal)) in ActOnNumericConstant()
3249 Lit = IntegerLiteral::Create(Context, ResultVal, CookedTy, in ActOnNumericConstant()
3332 llvm::APInt ResultVal(MaxWidth, 0); in ActOnNumericConstant() local
3334 if (Literal.GetIntegerValue(ResultVal)) { in ActOnNumericConstant()
3339 assert(Context.getTypeSize(Ty) == ResultVal.getBitWidth() && in ActOnNumericConstant()
3369 if (ResultVal.isIntN(IntSize)) { in ActOnNumericConstant()
3371 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant()
3384 if (ResultVal.isIntN(LongSize)) { in ActOnNumericConstant()
3386 if (!Literal.isUnsigned && ResultVal[LongSize-1] == 0) in ActOnNumericConstant()
[all …]