Home
last modified time | relevance | path

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

/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h215 GenericValue executeTruncInst(Value *SrcVal, Type *DstTy,
217 GenericValue executeSExtInst(Value *SrcVal, Type *DstTy,
219 GenericValue executeZExtInst(Value *SrcVal, Type *DstTy,
221 GenericValue executeFPTruncInst(Value *SrcVal, Type *DstTy,
223 GenericValue executeFPExtInst(Value *SrcVal, Type *DstTy,
225 GenericValue executeFPToUIInst(Value *SrcVal, Type *DstTy,
227 GenericValue executeFPToSIInst(Value *SrcVal, Type *DstTy,
229 GenericValue executeUIToFPInst(Value *SrcVal, Type *DstTy,
231 GenericValue executeSIToFPInst(Value *SrcVal, Type *DstTy,
233 GenericValue executePtrToIntInst(Value *SrcVal, Type *DstTy,
[all …]
DExecution.cpp944 GenericValue Interpreter::executeTruncInst(Value *SrcVal, Type *DstTy, in executeTruncInst() argument
946 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeTruncInst()
953 GenericValue Interpreter::executeSExtInst(Value *SrcVal, Type *DstTy, in executeSExtInst() argument
955 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeSExtInst()
962 GenericValue Interpreter::executeZExtInst(Value *SrcVal, Type *DstTy, in executeZExtInst() argument
964 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeZExtInst()
971 GenericValue Interpreter::executeFPTruncInst(Value *SrcVal, Type *DstTy, in executeFPTruncInst() argument
973 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeFPTruncInst()
974 assert(SrcVal->getType()->isDoubleTy() && DstTy->isFloatTy() && in executeFPTruncInst()
980 GenericValue Interpreter::executeFPExtInst(Value *SrcVal, Type *DstTy, in executeFPExtInst() argument
[all …]
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1010 static Value *GetStoreValueForLoad(Value *SrcVal, unsigned Offset, in GetStoreValueForLoad() argument
1013 LLVMContext &Ctx = SrcVal->getType()->getContext(); in GetStoreValueForLoad()
1015 uint64_t StoreSize = (TD.getTypeSizeInBits(SrcVal->getType()) + 7) / 8; in GetStoreValueForLoad()
1022 if (SrcVal->getType()->getScalarType()->isPointerTy()) in GetStoreValueForLoad()
1023 SrcVal = Builder.CreatePtrToInt(SrcVal, in GetStoreValueForLoad()
1024 TD.getIntPtrType(SrcVal->getType())); in GetStoreValueForLoad()
1025 if (!SrcVal->getType()->isIntegerTy()) in GetStoreValueForLoad()
1026 SrcVal = Builder.CreateBitCast(SrcVal, IntegerType::get(Ctx, StoreSize*8)); in GetStoreValueForLoad()
1036 SrcVal = Builder.CreateLShr(SrcVal, ShiftAmt); in GetStoreValueForLoad()
1039 SrcVal = Builder.CreateTrunc(SrcVal, IntegerType::get(Ctx, LoadSize*8)); in GetStoreValueForLoad()
[all …]
DScalarReplAggregates.cpp710 LoadInst *SrcVal = Builder.CreateLoad(SrcPtr, "srcval"); in ConvertUsesToScalar() local
711 SrcVal->setAlignment(MTI->getAlignment()); in ConvertUsesToScalar()
712 Builder.CreateStore(SrcVal, NewAI); in ConvertUsesToScalar()
717 LoadInst *SrcVal = Builder.CreateLoad(NewAI, "srcval"); in ConvertUsesToScalar() local
727 StoreInst *NewStore = Builder.CreateStore(SrcVal, DstPtr); in ConvertUsesToScalar()
2342 Value *SrcVal = SI->getOperand(0); in RewriteStoreUserOfWholeAlloca() local
2349 if (TD->getTypeSizeInBits(SrcVal->getType()) != AllocaSizeBits) in RewriteStoreUserOfWholeAlloca()
2350 SrcVal = Builder.CreateZExt(SrcVal, in RewriteStoreUserOfWholeAlloca()
2369 Value *EltVal = SrcVal; in RewriteStoreUserOfWholeAlloca()
2415 Value *EltVal = SrcVal; in RewriteStoreUserOfWholeAlloca()
/external/clang/lib/CodeGen/
DCGExpr.cpp1484 llvm::Value *SrcVal = Src.getScalarVal(); in EmitStoreThroughBitfieldLValue() local
1487 SrcVal = Builder.CreateIntCast(SrcVal, in EmitStoreThroughBitfieldLValue()
1490 llvm::Value *MaskedVal = SrcVal; in EmitStoreThroughBitfieldLValue()
1502 SrcVal = Builder.CreateAnd(SrcVal, in EmitStoreThroughBitfieldLValue()
1506 MaskedVal = SrcVal; in EmitStoreThroughBitfieldLValue()
1508 SrcVal = Builder.CreateShl(SrcVal, Info.Offset, "bf.shl"); in EmitStoreThroughBitfieldLValue()
1518 SrcVal = Builder.CreateOr(Val, SrcVal, "bf.set"); in EmitStoreThroughBitfieldLValue()
1524 llvm::StoreInst *Store = Builder.CreateStore(SrcVal, Ptr, in EmitStoreThroughBitfieldLValue()
1558 llvm::Value *SrcVal = Src.getScalarVal(); in EmitStoreThroughExtVectorComponentLValue() local
1573 Vec = Builder.CreateShuffleVector(SrcVal, in EmitStoreThroughExtVectorComponentLValue()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp845 SDValue SrcVal = Node->getOperand(2); in EmitSpecialNode() local
846 if (RegisterSDNode *R = dyn_cast<RegisterSDNode>(SrcVal)) in EmitSpecialNode()
849 SrcReg = getVR(SrcVal, VRBaseMap); in EmitSpecialNode()
/external/llvm/lib/AsmParser/
DLLParser.cpp2382 Constant *SrcVal; in ParseValID() local
2385 ParseGlobalTypeAndValue(SrcVal) || in ParseValID()
2390 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in ParseValID()
2392 getTypeString(SrcVal->getType()) + "' to '" + in ParseValID()
2395 SrcVal, DestTy); in ParseValID()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp1811 SDValue SrcVal = Op.getOperand(0); in LowerFP_ROUND() local
1812 return makeLibCall(DAG, LC, Op.getValueType(), &SrcVal, 1, in LowerFP_ROUND()