Home
last modified time | relevance | path

Searched refs:SrcVal (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h222 GenericValue executeTruncInst(Value *SrcVal, Type *DstTy,
224 GenericValue executeSExtInst(Value *SrcVal, Type *DstTy,
226 GenericValue executeZExtInst(Value *SrcVal, Type *DstTy,
228 GenericValue executeFPTruncInst(Value *SrcVal, Type *DstTy,
230 GenericValue executeFPExtInst(Value *SrcVal, Type *DstTy,
232 GenericValue executeFPToUIInst(Value *SrcVal, Type *DstTy,
234 GenericValue executeFPToSIInst(Value *SrcVal, Type *DstTy,
236 GenericValue executeUIToFPInst(Value *SrcVal, Type *DstTy,
238 GenericValue executeSIToFPInst(Value *SrcVal, Type *DstTy,
240 GenericValue executePtrToIntInst(Value *SrcVal, Type *DstTy,
[all …]
DExecution.cpp1218 GenericValue Interpreter::executeTruncInst(Value *SrcVal, Type *DstTy, in executeTruncInst() argument
1220 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeTruncInst()
1221 Type *SrcTy = SrcVal->getType(); in executeTruncInst()
1238 GenericValue Interpreter::executeSExtInst(Value *SrcVal, Type *DstTy, in executeSExtInst() argument
1240 Type *SrcTy = SrcVal->getType(); in executeSExtInst()
1241 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeSExtInst()
1258 GenericValue Interpreter::executeZExtInst(Value *SrcVal, Type *DstTy, in executeZExtInst() argument
1260 Type *SrcTy = SrcVal->getType(); in executeZExtInst()
1261 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeZExtInst()
1279 GenericValue Interpreter::executeFPTruncInst(Value *SrcVal, Type *DstTy, in executeFPTruncInst() argument
[all …]
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1131 static Value *GetStoreValueForLoad(Value *SrcVal, unsigned Offset, in GetStoreValueForLoad() argument
1134 LLVMContext &Ctx = SrcVal->getType()->getContext(); in GetStoreValueForLoad()
1136 uint64_t StoreSize = (DL.getTypeSizeInBits(SrcVal->getType()) + 7) / 8; in GetStoreValueForLoad()
1143 if (SrcVal->getType()->getScalarType()->isPointerTy()) in GetStoreValueForLoad()
1144 SrcVal = Builder.CreatePtrToInt(SrcVal, in GetStoreValueForLoad()
1145 DL.getIntPtrType(SrcVal->getType())); in GetStoreValueForLoad()
1146 if (!SrcVal->getType()->isIntegerTy()) in GetStoreValueForLoad()
1147 SrcVal = Builder.CreateBitCast(SrcVal, IntegerType::get(Ctx, StoreSize*8)); in GetStoreValueForLoad()
1157 SrcVal = Builder.CreateLShr(SrcVal, ShiftAmt); in GetStoreValueForLoad()
1160 SrcVal = Builder.CreateTrunc(SrcVal, IntegerType::get(Ctx, LoadSize*8)); in GetStoreValueForLoad()
[all …]
DScalarReplAggregates.cpp718 LoadInst *SrcVal = Builder.CreateLoad(SrcPtr, "srcval"); in ConvertUsesToScalar() local
719 SrcVal->setAlignment(MTI->getAlignment()); in ConvertUsesToScalar()
720 Builder.CreateStore(SrcVal, NewAI); in ConvertUsesToScalar()
725 LoadInst *SrcVal = Builder.CreateLoad(NewAI, "srcval"); in ConvertUsesToScalar() local
735 StoreInst *NewStore = Builder.CreateStore(SrcVal, DstPtr); in ConvertUsesToScalar()
2356 Value *SrcVal = SI->getOperand(0); in RewriteStoreUserOfWholeAlloca() local
2364 if (DL.getTypeSizeInBits(SrcVal->getType()) != AllocaSizeBits) in RewriteStoreUserOfWholeAlloca()
2365 SrcVal = Builder.CreateZExt(SrcVal, in RewriteStoreUserOfWholeAlloca()
2384 Value *EltVal = SrcVal; in RewriteStoreUserOfWholeAlloca()
2430 Value *EltVal = SrcVal; in RewriteStoreUserOfWholeAlloca()
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
Dtransform.hpp375 template <class SrcVal, class DstPtrTuple, class OpTuple>
376 …__device__ static void transform(const SrcVal& srcVal, DstPtrTuple& dst, const OpTuple& op, int y,… in transform()
387 template <class SrcVal, class DstPtrTuple, class OpTuple>
388 …__device__ __forceinline__ static void transform(const SrcVal&, DstPtrTuple&, const OpTuple&, int,… in transform()
/external/clang/lib/CodeGen/
DCGExpr.cpp1664 llvm::Value *SrcVal = Src.getScalarVal(); in EmitStoreThroughBitfieldLValue() local
1667 SrcVal = Builder.CreateIntCast(SrcVal, Ptr.getElementType(), in EmitStoreThroughBitfieldLValue()
1669 llvm::Value *MaskedVal = SrcVal; in EmitStoreThroughBitfieldLValue()
1680 SrcVal = Builder.CreateAnd(SrcVal, in EmitStoreThroughBitfieldLValue()
1684 MaskedVal = SrcVal; in EmitStoreThroughBitfieldLValue()
1686 SrcVal = Builder.CreateShl(SrcVal, Info.Offset, "bf.shl"); in EmitStoreThroughBitfieldLValue()
1696 SrcVal = Builder.CreateOr(Val, SrcVal, "bf.set"); in EmitStoreThroughBitfieldLValue()
1702 Builder.CreateStore(SrcVal, Ptr, Dst.isVolatileQualified()); in EmitStoreThroughBitfieldLValue()
1732 llvm::Value *SrcVal = Src.getScalarVal(); in EmitStoreThroughExtVectorComponentLValue() local
1747 Vec = Builder.CreateShuffleVector(SrcVal, in EmitStoreThroughExtVectorComponentLValue()
[all …]
DMicrosoftCXXABI.cpp3840 llvm::Value *SrcVal = in getAddrOfCXXCtorClosure() local
3850 if (SrcVal) in getAddrOfCXXCtorClosure()
3851 Args.add(RValue::get(SrcVal), SrcParam.getType()); in getAddrOfCXXCtorClosure()
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp897 SDValue SrcVal = Node->getOperand(2); in EmitSpecialNode() local
898 if (RegisterSDNode *R = dyn_cast<RegisterSDNode>(SrcVal)) in EmitSpecialNode()
901 SrcReg = getVR(SrcVal, VRBaseMap); in EmitSpecialNode()
/external/llvm/lib/AsmParser/
DLLParser.cpp2769 Constant *SrcVal; in ParseValID() local
2772 ParseGlobalTypeAndValue(SrcVal) || in ParseValID()
2777 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in ParseValID()
2779 getTypeString(SrcVal->getType()) + "' to '" + in ParseValID()
2782 SrcVal, DestTy); in ParseValID()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3320 Value *SrcVal = DestPN->getIncomingValue(Idx); in SimplifyCleanupReturn() local
3321 PHINode *SrcPN = dyn_cast<PHINode>(SrcVal); in SimplifyCleanupReturn()
3340 DestPN->addIncoming(SrcVal, pred); in SimplifyCleanupReturn()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp2491 const Value *SrcVal = II->getArgOperand(0); in fastLowerIntrinsicCall() local
2492 unsigned SrcReg = getRegForValue(SrcVal); in fastLowerIntrinsicCall()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp11666 SDValue SrcVal = Op.getOperand(0); in LowerFP_EXTEND() local
11667 return makeLibCall(DAG, LC, Op.getValueType(), SrcVal, /*isSigned*/ false, in LowerFP_EXTEND()
11679 SDValue SrcVal = Op.getOperand(0); in LowerFP_ROUND() local
11680 return makeLibCall(DAG, LC, Op.getValueType(), SrcVal, /*isSigned*/ false, in LowerFP_ROUND()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp1840 SDValue SrcVal = Op.getOperand(0); in LowerFP_ROUND() local
1841 return makeLibCall(DAG, LC, Op.getValueType(), SrcVal, /*isSigned*/ false, in LowerFP_ROUND()