Home
last modified time | relevance | path

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

/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h210 GenericValue executeTruncInst(Value *SrcVal, Type *DstTy,
212 GenericValue executeSExtInst(Value *SrcVal, Type *DstTy,
214 GenericValue executeZExtInst(Value *SrcVal, Type *DstTy,
216 GenericValue executeFPTruncInst(Value *SrcVal, Type *DstTy,
218 GenericValue executeFPExtInst(Value *SrcVal, Type *DstTy,
220 GenericValue executeFPToUIInst(Value *SrcVal, Type *DstTy,
222 GenericValue executeFPToSIInst(Value *SrcVal, Type *DstTy,
224 GenericValue executeUIToFPInst(Value *SrcVal, Type *DstTy,
226 GenericValue executeSIToFPInst(Value *SrcVal, Type *DstTy,
228 GenericValue executePtrToIntInst(Value *SrcVal, Type *DstTy,
[all …]
DExecution.cpp932 GenericValue Interpreter::executeTruncInst(Value *SrcVal, Type *DstTy, in executeTruncInst() argument
934 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeTruncInst()
941 GenericValue Interpreter::executeSExtInst(Value *SrcVal, Type *DstTy, in executeSExtInst() argument
943 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeSExtInst()
950 GenericValue Interpreter::executeZExtInst(Value *SrcVal, Type *DstTy, in executeZExtInst() argument
952 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeZExtInst()
959 GenericValue Interpreter::executeFPTruncInst(Value *SrcVal, Type *DstTy, in executeFPTruncInst() argument
961 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeFPTruncInst()
962 assert(SrcVal->getType()->isDoubleTy() && DstTy->isFloatTy() && in executeFPTruncInst()
968 GenericValue Interpreter::executeFPExtInst(Value *SrcVal, Type *DstTy, in executeFPExtInst() argument
[all …]
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp936 static Value *GetStoreValueForLoad(Value *SrcVal, unsigned Offset, in GetStoreValueForLoad() argument
939 LLVMContext &Ctx = SrcVal->getType()->getContext(); in GetStoreValueForLoad()
941 uint64_t StoreSize = (TD.getTypeSizeInBits(SrcVal->getType()) + 7) / 8; in GetStoreValueForLoad()
948 if (SrcVal->getType()->isPointerTy()) in GetStoreValueForLoad()
949 SrcVal = Builder.CreatePtrToInt(SrcVal, TD.getIntPtrType(Ctx), "tmp"); in GetStoreValueForLoad()
950 if (!SrcVal->getType()->isIntegerTy()) in GetStoreValueForLoad()
951 SrcVal = Builder.CreateBitCast(SrcVal, IntegerType::get(Ctx, StoreSize*8), in GetStoreValueForLoad()
962 SrcVal = Builder.CreateLShr(SrcVal, ShiftAmt, "tmp"); in GetStoreValueForLoad()
965 SrcVal = Builder.CreateTrunc(SrcVal, IntegerType::get(Ctx, LoadSize*8), in GetStoreValueForLoad()
968 return CoerceAvailableValueToLoadType(SrcVal, LoadTy, InsertPt, TD); in GetStoreValueForLoad()
[all …]
DScalarReplAggregates.cpp679 LoadInst *SrcVal = Builder.CreateLoad(SrcPtr, "srcval"); in ConvertUsesToScalar() local
680 SrcVal->setAlignment(MTI->getAlignment()); in ConvertUsesToScalar()
681 Builder.CreateStore(SrcVal, NewAI); in ConvertUsesToScalar()
686 LoadInst *SrcVal = Builder.CreateLoad(NewAI, "srcval"); in ConvertUsesToScalar() local
696 StoreInst *NewStore = Builder.CreateStore(SrcVal, DstPtr); in ConvertUsesToScalar()
2271 Value *SrcVal = SI->getOperand(0); in RewriteStoreUserOfWholeAlloca() local
2278 if (TD->getTypeSizeInBits(SrcVal->getType()) != AllocaSizeBits) in RewriteStoreUserOfWholeAlloca()
2279 SrcVal = Builder.CreateZExt(SrcVal, in RewriteStoreUserOfWholeAlloca()
2298 Value *EltVal = SrcVal; in RewriteStoreUserOfWholeAlloca()
2344 Value *EltVal = SrcVal; in RewriteStoreUserOfWholeAlloca()
/external/clang/lib/CodeGen/
DCGExpr.cpp1036 llvm::Value *SrcVal = Src.getScalarVal(); in EmitStoreThroughBitfieldLValue() local
1039 SrcVal = Builder.CreateIntCast(SrcVal, ResLTy, /*IsSigned=*/false); in EmitStoreThroughBitfieldLValue()
1041 SrcVal = Builder.CreateAnd(SrcVal, llvm::APInt::getLowBitsSet(ResSizeInBits, in EmitStoreThroughBitfieldLValue()
1049 llvm::Value *ReloadVal = Builder.CreateIntCast(SrcVal, SrcTy, false, in EmitStoreThroughBitfieldLValue()
1093 llvm::Value *Val = SrcVal; in EmitStoreThroughBitfieldLValue()
1140 llvm::Value *SrcVal = Src.getScalarVal(); in EmitStoreThroughExtVectorComponentLValue() local
1157 Vec = Builder.CreateShuffleVector(SrcVal, in EmitStoreThroughExtVectorComponentLValue()
1173 Builder.CreateShuffleVector(SrcVal, in EmitStoreThroughExtVectorComponentLValue()
1174 llvm::UndefValue::get(SrcVal->getType()), in EmitStoreThroughExtVectorComponentLValue()
1196 Vec = Builder.CreateInsertElement(Vec, SrcVal, Elt, "tmp"); in EmitStoreThroughExtVectorComponentLValue()
DCGObjC.cpp897 llvm::Value *SrcVal = Src.getScalarVal(); in EmitStoreThroughPropertyRefLValue() local
900 if (SrcVal->getType() != DstTy) in EmitStoreThroughPropertyRefLValue()
902 RValue::get(EmitScalarConversion(SrcVal, E->getType(), DstType)); in EmitStoreThroughPropertyRefLValue()
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp786 SDValue SrcVal = Node->getOperand(2); in EmitSpecialNode() local
787 if (RegisterSDNode *R = dyn_cast<RegisterSDNode>(SrcVal)) in EmitSpecialNode()
790 SrcReg = getVR(SrcVal, VRBaseMap); in EmitSpecialNode()
/external/llvm/lib/Target/CBackend/
DCBackend.cpp3305 Value *SrcVal = CI.getArgOperand(ValueCount-ResultVals.size()); in visitInlineAsm() local
3309 writeOperand(SrcVal); in visitInlineAsm()
3311 writeOperandDeref(SrcVal); in visitInlineAsm()
3539 int SrcVal = SVI.getMaskValue(i); in visitShuffleVectorInst() local
3540 if ((unsigned)SrcVal >= NumElts*2) { in visitShuffleVectorInst()
3543 Value *Op = SVI.getOperand((unsigned)SrcVal >= NumElts); in visitShuffleVectorInst()
3549 << "))[" << (SrcVal & (NumElts-1)) << "]"; in visitShuffleVectorInst()
3553 printConstant(cast<ConstantVector>(Op)->getOperand(SrcVal & in visitShuffleVectorInst()
/external/llvm/lib/AsmParser/
DLLParser.cpp2060 Constant *SrcVal; in ParseValID() local
2063 ParseGlobalTypeAndValue(SrcVal) || in ParseValID()
2068 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in ParseValID()
2070 getTypeString(SrcVal->getType()) + "' to '" + in ParseValID()
2073 SrcVal, DestTy); in ParseValID()