Home
last modified time | relevance | path

Searched refs:RetVT (Results 1 – 25 of 25) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRuntimeLibcalls.h47 Libcall getFPEXT(EVT OpVT, EVT RetVT);
51 Libcall getFPROUND(EVT OpVT, EVT RetVT);
55 Libcall getFPTOSINT(EVT OpVT, EVT RetVT);
59 Libcall getFPTOUINT(EVT OpVT, EVT RetVT);
63 Libcall getSINTTOFP(EVT OpVT, EVT RetVT);
67 Libcall getUINTTOFP(EVT OpVT, EVT RetVT);
71 Libcall getPOWI(EVT RetVT);
75 Libcall getLDEXP(EVT RetVT);
79 Libcall getFREXP(EVT RetVT);
H A DFastISel.h351 virtual unsigned fastEmit_(MVT VT, MVT RetVT, unsigned Opcode);
355 virtual unsigned fastEmit_r(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0);
359 virtual unsigned fastEmit_rr(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
365 virtual unsigned fastEmit_ri(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
378 virtual unsigned fastEmit_i(MVT VT, MVT RetVT, unsigned Opcode, uint64_t Imm);
383 virtual unsigned fastEmit_f(MVT VT, MVT RetVT, unsigned Opcode,
439 Register fastEmitInst_extractsubreg(MVT RetVT, unsigned Op0, uint32_t Idx);
H A DTargetLowering.h3779 EVT RetVT, ArrayRef<SDValue> Ops,
4572 MakeLibCallOptions &setTypeListBeforeSoften(ArrayRef<EVT> OpsVT, EVT RetVT,
4575 RetVTBeforeSoften = RetVT;
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp247 if (RetVT == MVT::f32) in getFPEXT()
249 if (RetVT == MVT::f64) in getFPEXT()
251 if (RetVT == MVT::f80) in getFPEXT()
256 if (RetVT == MVT::f64) in getFPEXT()
278 if (RetVT == MVT::f16) { in getFPROUND()
322 if (RetVT == MVT::i32) in getFPTOSINT()
324 if (RetVT == MVT::i64) in getFPTOSINT()
329 if (RetVT == MVT::i32) in getFPTOSINT()
331 if (RetVT == MVT::i64) in getFPTOSINT()
336 if (RetVT == MVT::i32) in getFPTOSINT()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp1307 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_rr()
1340 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_ri()
1389 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_rs()
1431 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_rx()
1500 if (RetVT != MVT::f32 && RetVT != MVT::f64) in emitFCmp()
1652 if (RetVT >= MVT::i8 && RetVT <= MVT::i16) { in emitLogicalOp()
1739 if (RetVT >= MVT::i8 && RetVT <= MVT::i16) { in emitLogicalOp_rs()
3360 if (RetVT != MVT::i32 && RetVT != MVT::i64) in foldXALUIntrinsic()
4098 assert((RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32 || in emitLSL_ri()
4201 assert((RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32 || in emitLSR_ri()
[all …]
H A DAArch64ISelLowering.cpp23181 const EVT RetVT = N->getValueType(0); in performGatherLoadCombine() local
23182 assert(RetVT.isScalableVector() && in performGatherLoadCombine()
23203 RetVT.getScalarSizeInBits()); in performGatherLoadCombine()
23207 RetVT.getScalarSizeInBits()); in performGatherLoadCombine()
23256 EVT HwRetVt = getSVEContainerType(RetVT); in performGatherLoadCombine()
23261 SDValue OutVT = DAG.getValueType(RetVT); in performGatherLoadCombine()
23262 if (RetVT.isFloatingPoint()) in performGatherLoadCombine()
23273 if (RetVT.isInteger() && (RetVT != HwRetVt)) in performGatherLoadCombine()
23274 Load = DAG.getNode(ISD::TRUNCATE, DL, RetVT, Load.getValue(0)); in performGatherLoadCombine()
23278 if (RetVT.isFloatingPoint()) in performGatherLoadCombine()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DFastISelEmitter.cpp517 MVT::SimpleValueType RetVT = MVT::isVoid; in collectPatterns() local
518 if (InstPatNode->getNumTypes()) RetVT = InstPatNode->getSimpleType(0); in collectPatterns()
519 MVT::SimpleValueType VT = RetVT; in collectPatterns()
590 std::make_tuple(Operands, OpcodeName, VT, RetVT, PredicateCheck)); in collectPatterns()
598 SimplePatterns[Operands][OpcodeName][VT][RetVT].emplace(complexity, in collectPatterns()
708 MVT::SimpleValueType RetVT = RI.first; in printFunctionDefinitions() local
713 << getLegalCName(std::string(getName(RetVT))) << "_"; in printFunctionDefinitions()
719 emitInstructionCode(OS, Operands, PM, std::string(getName(RetVT))); in printFunctionDefinitions()
732 MVT::SimpleValueType RetVT = RI.first; in printFunctionDefinitions() local
733 OS << " case " << getName(RetVT) << ": return fastEmit_" in printFunctionDefinitions()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp1500 if (RetVT != MVT::isVoid) { in finishCall()
1513 if (RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32) in finishCall()
1519 if (RetVT == CopyVT) { in finishCall()
1533 } else if (RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32) { in finishCall()
1573 MVT RetVT; in fastLowerCall() local
1575 RetVT = MVT::isVoid; in fastLowerCall()
1576 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 && in fastLowerCall()
1577 RetVT != MVT::i8) in fastLowerCall()
1584 if (RetVT != MVT::isVoid && RetVT != MVT::i8 && RetVT != MVT::i16 && in fastLowerCall()
1585 RetVT != MVT::i32 && RetVT != MVT::i64 && RetVT != MVT::f32 && in fastLowerCall()
[all …]
H A DPPCISelLowering.cpp18280 EVT RetVT = Op.getValueType(); in lowerToLibCall() local
18281 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in lowerToLibCall()
18284 bool SignExtend = TLI.shouldSignExtendTypeInLibCall(RetVT, false); in lowerToLibCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFastISel.cpp2031 if (RetVT != MVT::isVoid) { in FinishCall()
2058 if (RetVT == MVT::i1 || RetVT == MVT::i8 || RetVT == MVT::i16) in FinishCall()
2207 MVT RetVT; in ARMEmitLibcall() local
2209 RetVT = MVT::isVoid; in ARMEmitLibcall()
2214 if (RetVT != MVT::isVoid && RetVT != MVT::i32) { in ARMEmitLibcall()
2314 MVT RetVT; in SelectCall() local
2316 RetVT = MVT::isVoid; in SelectCall()
2317 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 && in SelectCall()
2318 RetVT != MVT::i8 && RetVT != MVT::i1) in SelectCall()
2322 if (RetVT != MVT::isVoid && RetVT != MVT::i1 && RetVT != MVT::i8 && in SelectCall()
[all …]
H A DARMISelLowering.cpp3255 auto RetVT = Outs[realRVLocIdx].ArgVT; in LowerReturn() local
3256 if (AFI->isCmseNSEntryFunction() && (RetVT == MVT::f16)) { in LowerReturn()
3261 auto MaskValue = APInt::getLowBitsSet(LocBits, RetVT.getSizeInBits()); in LowerReturn()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp235 MVT RetVT; in foldX86XALUIntrinsic() local
239 if (!isTypeLegal(RetTy, RetVT)) in foldX86XALUIntrinsic()
242 if (RetVT != MVT::i32 && RetVT != MVT::i64) in foldX86XALUIntrinsic()
2029 if (RetVT < MVT::i16 || RetVT > MVT::i64) in X86FastEmitCMoveSelect()
2251 switch (RetVT.SimpleTy) { in X86FastEmitSSESelect()
2274 switch (RetVT.SimpleTy) { in X86FastEmitPseudoSelect()
2345 MVT RetVT; in X86SelectSelect() local
2346 if (!isTypeLegal(I->getType(), RetVT)) in X86SelectSelect()
2374 if (X86FastEmitCMoveSelect(RetVT, I)) in X86SelectSelect()
2378 if (X86FastEmitSSESelect(RetVT, I)) in X86SelectSelect()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp197 unsigned emitLogicalOp(unsigned ISDOpc, MVT RetVT, const Value *LHS,
291 unsigned MipsFastISel::emitLogicalOp(unsigned ISDOpc, MVT RetVT, in emitLogicalOp() argument
1270 bool MipsFastISel::finishCall(CallLoweringInfo &CLI, MVT RetVT, in finishCall() argument
1274 if (RetVT != MVT::isVoid) { in finishCall()
1288 if (RetVT == MVT::i1 || RetVT == MVT::i8 || RetVT == MVT::i16) in finishCall()
1506 MVT RetVT; in fastLowerCall() local
1508 RetVT = MVT::isVoid; in fastLowerCall()
1509 else if (!isTypeSupported(CLI.RetTy, RetVT)) in fastLowerCall()
1577 return finishCall(CLI, RetVT, NumBytes); in fastLowerCall()
1954 MVT RetVT; in selectShift() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp1039 if (Promoted.bitsGE(RetVT)) in findFPToIntLibcall()
2120 EVT RetVT = N->getOperand(0).getValueType(); in ExpandFloatOp_LROUND() local
2122 return TLI.makeLibCall(DAG, GetFPLibCall(RetVT, in ExpandFloatOp_LROUND()
2133 EVT RetVT = N->getOperand(0).getValueType(); in ExpandFloatOp_LLROUND() local
2135 return TLI.makeLibCall(DAG, GetFPLibCall(RetVT, in ExpandFloatOp_LLROUND()
2146 EVT RetVT = N->getOperand(0).getValueType(); in ExpandFloatOp_LRINT() local
2159 EVT RetVT = N->getOperand(0).getValueType(); in ExpandFloatOp_LLRINT() local
2178 } else if (RetVT == MVT::f16) { in GetPromotionOpcode()
2182 } else if (RetVT == MVT::bf16) { in GetPromotionOpcode()
2193 if (RetVT == MVT::f16) in GetPromotionOpcodeStrict()
[all …]
H A DLegalizeDAG.cpp2053 EVT RetVT = Node->getValueType(0); in ExpandLibCall() local
2054 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall()
2160 EVT RetVT = Node->getValueType(0); in ExpandFPLibCall() local
2246 EVT RetVT = Node->getValueType(0); in ExpandDivRemLibCall() local
2247 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandDivRemLibCall()
2262 SDValue FIPtr = DAG.CreateStackTemporary(RetVT); in ExpandDivRemLibCall()
2339 EVT RetVT = Node->getValueType(0); in ExpandSinCosLibCall() local
2340 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandSinCosLibCall()
2353 SDValue SinPtr = DAG.CreateStackTemporary(RetVT); in ExpandSinCosLibCall()
2361 SDValue CosPtr = DAG.CreateStackTemporary(RetVT); in ExpandSinCosLibCall()
[all …]
H A DTargetLowering.cpp145 TargetLowering::makeLibCall(SelectionDAG &DAG, RTLIB::Libcall LC, EVT RetVT, in makeLibCall() argument
177 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in makeLibCall()
403 EVT RetVT = getCmpLibcallReturnType(); in softenSetCCOperands() local
408 CallOptions.setTypeListBeforeSoften(OpsVT, RetVT, true); in softenSetCCOperands()
409 auto Call = makeLibCall(DAG, LC1, RetVT, Ops, CallOptions, dl, Chain); in softenSetCCOperands()
411 NewRHS = DAG.getConstant(0, dl, RetVT); in softenSetCCOperands()
415 assert(RetVT.isInteger()); in softenSetCCOperands()
416 CCCode = getSetCCInverse(CCCode, RetVT); in softenSetCCOperands()
424 getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), RetVT); in softenSetCCOperands()
426 auto Call2 = makeLibCall(DAG, LC2, RetVT, Ops, CallOptions, dl, Chain); in softenSetCCOperands()
[all …]
H A DFastISel.cpp2188 Register FastISel::fastEmitInst_extractsubreg(MVT RetVT, unsigned Op0, in fastEmitInst_extractsubreg() argument
2190 Register ResultReg = createResultReg(TLI.getRegClassFor(RetVT)); in fastEmitInst_extractsubreg()
H A DLegalizeVectorTypes.cpp6912 EVT RetVT = WidenEltVT; in findMemType() local
6914 return RetVT; in findMemType()
6933 RetVT = MemVT; in findMemType()
6954 if (RetVT.getFixedSizeInBits() < MemVTWidth || MemVT == WidenVT) in findMemType()
6964 return RetVT; in findMemType()
H A DLegalizeIntegerTypes.cpp2791 EVT RetVT = Node->getValueType(0); in ExpandAtomic() local
2803 return TLI.makeLibCall(DAG, LC, RetVT, Ops, CallOptions, SDLoc(Node), in ExpandAtomic()
3848 EVT RetVT = N->getValueType(0); in ExpandIntRes_XROUND_XRINT() local
3852 std::pair<SDValue, SDValue> Tmp = TLI.makeLibCall(DAG, LC, RetVT, in ExpandIntRes_XROUND_XRINT()
H A DSelectionDAGBuilder.cpp6521 EVT RetVT = TLI.getValueType(DAG.getDataLayout(), I.getType()); in visitIntrinsicCall() local
6522 setValue(&I, DAG.getNode(Opcode, sdl, RetVT, in visitIntrinsicCall()
10294 EVT RetVT = OldRetTys[i]; in LowerCallTo() local
10296 MVT RegisterVT = getRegisterType(CLI.RetTy->getContext(), RetVT); in LowerCallTo()
10297 unsigned NumRegs = getNumRegisters(CLI.RetTy->getContext(), RetVT); in LowerCallTo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp1157 EVT RetVT = TLI.getValueType(DL, I->getType()); in selectBitCast() local
1158 if (!VT.isSimple() || !RetVT.isSimple()) in selectBitCast()
1165 if (VT == RetVT) { in selectBitCast()
1171 Register Reg = fastEmit_ISD_BITCAST_r(VT.getSimpleVT(), RetVT.getSimpleVT(), in selectBitCast()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h601 EVT RetVT, ArrayRef<SDValue> Ops, CallingConv::ID CallConv,
H A DSystemZISelLowering.cpp2096 SDValue Chain, SelectionDAG &DAG, const char *CalleeName, EVT RetVT, in makeExternalCall() argument
2114 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in makeExternalCall()
2116 bool SignExtend = shouldSignExtendTypeInLibCall(RetVT, IsSigned); in makeExternalCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp681 EVT RetVT = Op.getValueType(); in lowerUINT_TO_FP() local
682 RTLIB::Libcall LC = RTLIB::getUINTTOFP(OpVT, RetVT); in lowerUINT_TO_FP()
684 CallOptions.setTypeListBeforeSoften(OpVT, RetVT, true); in lowerUINT_TO_FP()
706 EVT RetVT = Op.getValueType(); in lowerSINT_TO_FP() local
707 RTLIB::Libcall LC = RTLIB::getSINTTOFP(OpVT, RetVT); in lowerSINT_TO_FP()
709 CallOptions.setTypeListBeforeSoften(OpVT, RetVT, true); in lowerSINT_TO_FP()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp8706 MVT RetVT = VT; in LowerINTRINSIC_WO_CHAIN() local
8708 RetVT = getContainerForFixedLengthVector(VT); in LowerINTRINSIC_WO_CHAIN()
8710 RetVT = MVT::getVectorVT(MVT::getIntegerVT(VT.getScalarSizeInBits()), in LowerINTRINSIC_WO_CHAIN()
8713 SDValue NewNode = DAG.getNode(ISD::INTRINSIC_WO_CHAIN, DL, RetVT, Ops); in LowerINTRINSIC_WO_CHAIN()
8865 MVT RetVT = VT; in LowerINTRINSIC_W_CHAIN() local
8867 RetVT = getContainerForFixedLengthVector(VT); in LowerINTRINSIC_W_CHAIN()
8869 RetVT = MVT::getVectorVT(MVT::getIntegerVT(RetVT.getScalarSizeInBits()), in LowerINTRINSIC_W_CHAIN()
8870 RetVT.getVectorElementCount()); in LowerINTRINSIC_W_CHAIN()
8872 SDVTList VTs = DAG.getVTList({RetVT, MVT::Other}); in LowerINTRINSIC_W_CHAIN()