Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp344 static T *getStoreValueForLoadHelper(T *SrcVal, unsigned Offset, Type *LoadTy, in getStoreValueForLoadHelper() argument
347 LLVMContext &Ctx = SrcVal->getType()->getContext(); in getStoreValueForLoadHelper()
352 if (SrcVal->getType()->isPointerTy() && LoadTy->isPointerTy() && in getStoreValueForLoadHelper()
353 cast<PointerType>(SrcVal->getType())->getAddressSpace() == in getStoreValueForLoadHelper()
355 return SrcVal; in getStoreValueForLoadHelper()
358 uint64_t StoreSize = (DL.getTypeSizeInBits(SrcVal->getType()) + 7) / 8; in getStoreValueForLoadHelper()
362 if (SrcVal->getType()->isPtrOrPtrVectorTy()) in getStoreValueForLoadHelper()
363 SrcVal = Helper.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType())); in getStoreValueForLoadHelper()
364 if (!SrcVal->getType()->isIntegerTy()) in getStoreValueForLoadHelper()
365 SrcVal = Helper.CreateBitCast(SrcVal, IntegerType::get(Ctx, StoreSize * 8)); in getStoreValueForLoadHelper()
[all …]
DSimplifyCFG.cpp4053 Value *SrcVal = DestPN->getIncomingValue(Idx); in removeEmptyCleanup() local
4054 PHINode *SrcPN = dyn_cast<PHINode>(SrcVal); in removeEmptyCleanup()
4073 DestPN->addIncoming(SrcVal, pred); in removeEmptyCleanup()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h203 GenericValue executeTruncInst(Value *SrcVal, Type *DstTy,
205 GenericValue executeSExtInst(Value *SrcVal, Type *DstTy,
207 GenericValue executeZExtInst(Value *SrcVal, Type *DstTy,
209 GenericValue executeFPTruncInst(Value *SrcVal, Type *DstTy,
211 GenericValue executeFPExtInst(Value *SrcVal, Type *DstTy,
213 GenericValue executeFPToUIInst(Value *SrcVal, Type *DstTy,
215 GenericValue executeFPToSIInst(Value *SrcVal, Type *DstTy,
217 GenericValue executeUIToFPInst(Value *SrcVal, Type *DstTy,
219 GenericValue executeSIToFPInst(Value *SrcVal, Type *DstTy,
221 GenericValue executePtrToIntInst(Value *SrcVal, Type *DstTy,
[all …]
DExecution.cpp1270 GenericValue Interpreter::executeTruncInst(Value *SrcVal, Type *DstTy, in executeTruncInst() argument
1272 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeTruncInst()
1273 Type *SrcTy = SrcVal->getType(); in executeTruncInst()
1290 GenericValue Interpreter::executeSExtInst(Value *SrcVal, Type *DstTy, in executeSExtInst() argument
1292 Type *SrcTy = SrcVal->getType(); in executeSExtInst()
1293 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeSExtInst()
1310 GenericValue Interpreter::executeZExtInst(Value *SrcVal, Type *DstTy, in executeZExtInst() argument
1312 Type *SrcTy = SrcVal->getType(); in executeZExtInst()
1313 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeZExtInst()
1331 GenericValue Interpreter::executeFPTruncInst(Value *SrcVal, Type *DstTy, in executeFPTruncInst() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DVNCoercion.h76 Value *getStoreValueForLoad(Value *SrcVal, unsigned Offset, Type *LoadTy,
80 Constant *getConstantStoreValueForLoad(Constant *SrcVal, unsigned Offset,
87 Value *getLoadValueForLoad(LoadInst *SrcVal, unsigned Offset, Type *LoadTy,
91 Constant *getConstantLoadValueForLoad(Constant *SrcVal, unsigned Offset,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp996 SDValue SrcVal = Node->getOperand(2); in EmitSpecialNode() local
997 if (Register::isVirtualRegister(DestReg) && SrcVal.isMachineOpcode() && in EmitSpecialNode()
998 SrcVal.getMachineOpcode() == TargetOpcode::IMPLICIT_DEF) { in EmitSpecialNode()
1006 if (RegisterSDNode *R = dyn_cast<RegisterSDNode>(SrcVal)) in EmitSpecialNode()
1009 SrcReg = getVR(SrcVal, VRBaseMap); in EmitSpecialNode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2529 SDValue SrcVal = Op.getOperand(IsStrict ? 1 : 0); in LowerFP_ROUND() local
2530 if (SrcVal.getValueType() != MVT::f128) { in LowerFP_ROUND()
2536 LC = RTLIB::getFPROUND(SrcVal.getValueType(), Op.getValueType()); in LowerFP_ROUND()
2545 std::tie(Result, Chain) = makeLibCall(DAG, LC, Op.getValueType(), SrcVal, in LowerFP_ROUND()
2593 SDValue SrcVal = Op.getOperand(IsStrict ? 1 : 0); in LowerFP_TO_INT() local
2595 if (SrcVal.getValueType().isVector()) in LowerFP_TO_INT()
2599 if (SrcVal.getValueType() == MVT::f16 && !Subtarget->hasFullFP16()) { in LowerFP_TO_INT()
2604 DAG.getNode(ISD::FP_EXTEND, dl, MVT::f32, SrcVal)); in LowerFP_TO_INT()
2607 if (SrcVal.getValueType() != MVT::f128) { in LowerFP_TO_INT()
2615 LC = RTLIB::getFPTOSINT(SrcVal.getValueType(), Op.getValueType()); in LowerFP_TO_INT()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp5402 SDValue SrcVal = Op.getOperand(IsStrict ? 1 : 0); in LowerFP_TO_INT() local
5404 if (isUnsupportedFloatingType(SrcVal.getValueType())) { in LowerFP_TO_INT()
5408 LC = RTLIB::getFPTOSINT(SrcVal.getValueType(), in LowerFP_TO_INT()
5411 LC = RTLIB::getFPTOUINT(SrcVal.getValueType(), in LowerFP_TO_INT()
5417 std::tie(Result, Chain) = makeLibCall(DAG, LC, Op.getValueType(), SrcVal, in LowerFP_TO_INT()
5428 Loc, Op.getValueType(), SrcVal); in LowerFP_TO_INT()
16374 SDValue SrcVal = Op.getOperand(IsStrict ? 1 : 0); in LowerFP_EXTEND() local
16376 const unsigned SrcSz = SrcVal.getValueType().getSizeInBits(); in LowerFP_EXTEND()
16392 Loc, Op.getValueType(), SrcVal); in LowerFP_EXTEND()
16413 SrcVal = DAG.getNode(ISD::STRICT_FP_EXTEND, Loc, in LowerFP_EXTEND()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.cpp3326 Constant *SrcVal; in ParseValID() local
3329 ParseGlobalTypeAndValue(SrcVal) || in ParseValID()
3334 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in ParseValID()
3336 getTypeString(SrcVal->getType()) + "' to '" + in ParseValID()
3339 SrcVal, DestTy); in ParseValID()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp1705 const APInt &SrcVal = SrcMO.getCImm()->getValue(); in widenScalar() local
1707 ? SrcVal.sext(WideTy.getSizeInBits()) in widenScalar()
1708 : SrcVal.zext(WideTy.getSizeInBits()); in widenScalar()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FastISel.cpp2832 const Value *SrcVal = II->getArgOperand(0); in fastLowerIntrinsicCall() local
2833 unsigned SrcReg = getRegForValue(SrcVal); in fastLowerIntrinsicCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp10301 SDValue SrcVal = Node->getOperand(2); in legalizeTargetIndependentNode() local
10305 if (SrcVal.getValueType() == MVT::i1 && in legalizeTargetIndependentNode()
10314 = DAG.getCopyToReg(Node->getOperand(0), SL, VReg, SrcVal, in legalizeTargetIndependentNode()