Searched refs:SrcVal (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp344 static T *getStoreValueForLoadHelper(T *SrcVal, unsigned Offset, Type *LoadTy, argument
347 LLVMContext &Ctx = SrcVal->getType()->getContext();
352 if (SrcVal->getType()->isPointerTy() && LoadTy->isPointerTy() &&
353 cast<PointerType>(SrcVal->getType())->getAddressSpace() ==
355 return SrcVal;
358 uint64_t StoreSize = (DL.getTypeSizeInBits(SrcVal->getType()) + 7) / 8;
362 if (SrcVal->getType()->isPtrOrPtrVectorTy())
363 SrcVal = Helper.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal
387 getStoreValueForLoad(Value *SrcVal, unsigned Offset, Type *LoadTy, Instruction *InsertPt, const DataLayout &DL) argument
395 getConstantStoreValueForLoad(Constant *SrcVal, unsigned Offset, Type *LoadTy, const DataLayout &DL) argument
407 getLoadValueForLoad(LoadInst *SrcVal, unsigned Offset, Type *LoadTy, Instruction *InsertPt, const DataLayout &DL) argument
453 getConstantLoadValueForLoad(Constant *SrcVal, unsigned Offset, Type *LoadTy, const DataLayout &DL) argument
[all...]
H A DSimplifyCFG.cpp4052 Value *SrcVal = DestPN->getIncomingValue(Idx); local
4053 PHINode *SrcPN = dyn_cast<PHINode>(SrcVal);
4072 DestPN->addIncoming(SrcVal, pred);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A 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,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A 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, Typ
[all...]
H A DExecution.cpp1270 GenericValue Interpreter::executeTruncInst(Value *SrcVal, Type *DstTy,
1272 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1273 Type *SrcTy = SrcVal->getType();
1290 GenericValue Interpreter::executeSExtInst(Value *SrcVal, Type *DstTy,
1292 Type *SrcTy = SrcVal->getType();
1293 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1310 GenericValue Interpreter::executeZExtInst(Value *SrcVal, Type *DstTy,
1312 Type *SrcTy = SrcVal->getType();
1313 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1331 GenericValue Interpreter::executeFPTruncInst(Value *SrcVal, Typ
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp534 llvm::Value *SrcVal = this->CGF->Builder.CreateLoad(SrcAddr, false); local
535 this->CGF->Builder.CreateStore(SrcVal, DstAddr, false);
563 RValue SrcVal = this->CGF->EmitLoadOfLValue(SrcLV, SourceLocation()); local
564 this->CGF->EmitStoreThroughLValue(SrcVal, DstLV);
677 llvm::Value *SrcVal = CGF->EmitLoadOfScalar( local
679 llvm::Value *Val = CGF->EmitARCRetain(QT, SrcVal);
708 llvm::Value *SrcVal = local
711 CGF->EmitStoreOfScalar(SrcVal, CGF->MakeAddrLValue(Addrs[DstIdx], QT),
739 llvm::Value *SrcVal = CGF->EmitLoadOfScalar( local
741 CGF->EmitARCStoreStrong(CGF->MakeAddrLValue(Addrs[DstIdx], QT), SrcVal,
771 llvm::Value *SrcVal = local
[all...]
H A DCGExpr.cpp2034 llvm::Value *SrcVal = Src.getScalarVal(); local
2037 SrcVal = Builder.CreateIntCast(SrcVal, Ptr.getElementType(),
2039 llvm::Value *MaskedVal = SrcVal;
2050 SrcVal = Builder.CreateAnd(SrcVal,
2054 MaskedVal = SrcVal;
2056 SrcVal = Builder.CreateShl(SrcVal, Info.Offset, "bf.shl");
2066 SrcVal
2102 llvm::Value *SrcVal = Src.getScalarVal(); local
[all...]
H A DMicrosoftCXXABI.cpp3976 llvm::Value *SrcVal = local
3986 if (SrcVal)
3987 Args.add(RValue::get(SrcVal), SrcParam.getType());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp996 SDValue SrcVal = Node->getOperand(2);
997 if (Register::isVirtualRegister(DestReg) && SrcVal.isMachineOpcode() &&
998 SrcVal.getMachineOpcode() == TargetOpcode::IMPLICIT_DEF) {
1006 if (RegisterSDNode *R = dyn_cast<RegisterSDNode>(SrcVal))
1009 SrcReg = getVR(SrcVal, VRBaseMap);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp2529 SDValue SrcVal = Op.getOperand(IsStrict ? 1 : 0); local
2530 if (SrcVal.getValueType() != MVT::f128) {
2536 LC = RTLIB::getFPROUND(SrcVal.getValueType(), Op.getValueType());
2545 std::tie(Result, Chain) = makeLibCall(DAG, LC, Op.getValueType(), SrcVal,
2593 SDValue SrcVal = Op.getOperand(IsStrict ? 1 : 0); local
2595 if (SrcVal.getValueType().isVector())
2599 if (SrcVal.getValueType() == MVT::f16 && !Subtarget->hasFullFP16()) {
2604 DAG.getNode(ISD::FP_EXTEND, dl, MVT::f32, SrcVal));
2607 if (SrcVal.getValueType() != MVT::f128) {
2615 LC = RTLIB::getFPTOSINT(SrcVal
2656 SDValue SrcVal = Op.getOperand(IsStrict ? 1 : 0); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5403 SDValue SrcVal = Op.getOperand(IsStrict ? 1 : 0); local
5405 if (isUnsupportedFloatingType(SrcVal.getValueType())) {
5409 LC = RTLIB::getFPTOSINT(SrcVal.getValueType(),
5412 LC = RTLIB::getFPTOUINT(SrcVal.getValueType(),
5418 std::tie(Result, Chain) = makeLibCall(DAG, LC, Op.getValueType(), SrcVal,
5429 Loc, Op.getValueType(), SrcVal);
16377 SDValue SrcVal = Op.getOperand(IsStrict ? 1 : 0); local
16379 const unsigned SrcSz = SrcVal.getValueType().getSizeInBits();
16395 Loc, Op.getValueType(), SrcVal);
16416 SrcVal
16437 SDValue SrcVal = Op.getOperand(IsStrict ? 1 : 0); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp3326 Constant *SrcVal;
3329 ParseGlobalTypeAndValue(SrcVal) ||
3334 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy))
3336 getTypeString(SrcVal->getType()) + "' to '" +
3339 SrcVal, DestTy);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp1705 const APInt &SrcVal = SrcMO.getCImm()->getValue(); local
1707 ? SrcVal.sext(WideTy.getSizeInBits())
1708 : SrcVal.zext(WideTy.getSizeInBits());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp2832 const Value *SrcVal = II->getArgOperand(0); local
2833 unsigned SrcReg = getRegForValue(SrcVal);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp10301 SDValue SrcVal = Node->getOperand(2); local
10305 if (SrcVal.getValueType() == MVT::i1 &&
10314 = DAG.getCopyToReg(Node->getOperand(0), SL, VReg, SrcVal,

Completed in 620 milliseconds