Searched refs:ResultVal (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 2464 Value *ResultVal = in RewriteLoadUserOfWholeAlloca() local 2494 if (SrcField->getType() != ResultVal->getType()) in RewriteLoadUserOfWholeAlloca() 2495 SrcField = new ZExtInst(SrcField, ResultVal->getType(), "", LI); in RewriteLoadUserOfWholeAlloca() 2513 if (!isa<Constant>(ResultVal) || in RewriteLoadUserOfWholeAlloca() 2514 !cast<Constant>(ResultVal)->isNullValue()) in RewriteLoadUserOfWholeAlloca() 2515 ResultVal = BinaryOperator::CreateOr(SrcField, ResultVal, "", LI); in RewriteLoadUserOfWholeAlloca() 2517 ResultVal = SrcField; in RewriteLoadUserOfWholeAlloca() 2522 ResultVal = new TruncInst(ResultVal, LI->getType(), "", LI); in RewriteLoadUserOfWholeAlloca() 2524 LI->replaceAllUsesWith(ResultVal); in RewriteLoadUserOfWholeAlloca()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 456 APInt ResultVal = APInt(IntType->getBitWidth(), 0); in FoldReinterpretLoadFromConstPtr() local 458 ResultVal = RawBytes[BytesLoaded - 1]; in FoldReinterpretLoadFromConstPtr() 460 ResultVal <<= 8; in FoldReinterpretLoadFromConstPtr() 461 ResultVal |= RawBytes[BytesLoaded - 1 - i]; in FoldReinterpretLoadFromConstPtr() 464 ResultVal = RawBytes[0]; in FoldReinterpretLoadFromConstPtr() 466 ResultVal <<= 8; in FoldReinterpretLoadFromConstPtr() 467 ResultVal |= RawBytes[i]; in FoldReinterpretLoadFromConstPtr() 471 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()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 1525 llvm::Value *ResultVal = MaskedVal; in EmitStoreThroughBitfieldLValue() local 1532 ResultVal = Builder.CreateShl(ResultVal, HighBits, "bf.result.shl"); in EmitStoreThroughBitfieldLValue() 1533 ResultVal = Builder.CreateAShr(ResultVal, HighBits, "bf.result.ashr"); in EmitStoreThroughBitfieldLValue() 1537 ResultVal = Builder.CreateIntCast(ResultVal, ResLTy, Info.IsSigned, in EmitStoreThroughBitfieldLValue() 1539 *Result = EmitFromMemory(ResultVal, Dst.getType()); in EmitStoreThroughBitfieldLValue()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 3118 llvm::APInt ResultVal(Context.getTargetInfo().getLongLongWidth(), 0); in ActOnNumericConstant() local 3119 if (Literal.GetIntegerValue(ResultVal)) in ActOnNumericConstant() 3121 Lit = IntegerLiteral::Create(Context, ResultVal, CookedTy, in ActOnNumericConstant() 3209 llvm::APInt ResultVal(MaxWidth, 0); in ActOnNumericConstant() local 3211 if (Literal.GetIntegerValue(ResultVal)) { in ActOnNumericConstant() 3215 assert(Context.getTypeSize(Ty) == ResultVal.getBitWidth() && in ActOnNumericConstant() 3247 if (ResultVal.isIntN(IntSize)) { in ActOnNumericConstant() 3249 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant() 3262 if (ResultVal.isIntN(LongSize)) { in ActOnNumericConstant() 3264 if (!Literal.isUnsigned && ResultVal[LongSize-1] == 0) in ActOnNumericConstant() [all …]
|