Home
last modified time | relevance | path

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

/freebsd-13.1/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);
H A DFastISel.h346 virtual unsigned fastEmit_(MVT VT, MVT RetVT, unsigned Opcode);
350 virtual unsigned fastEmit_r(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0);
354 virtual unsigned fastEmit_rr(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
360 virtual unsigned fastEmit_ri(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
373 virtual unsigned fastEmit_i(MVT VT, MVT RetVT, unsigned Opcode, uint64_t Imm);
378 virtual unsigned fastEmit_f(MVT VT, MVT RetVT, unsigned Opcode,
434 Register fastEmitInst_extractsubreg(MVT RetVT, unsigned Op0, uint32_t Idx);
H A DTargetLowering.h3263 EVT RetVT, ArrayRef<SDValue> Ops,
3923 MakeLibCallOptions &setTypeListBeforeSoften(ArrayRef<EVT> OpsVT, EVT RetVT,
3926 RetVTBeforeSoften = RetVT;
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp235 if (RetVT == MVT::f32) in getFPEXT()
237 if (RetVT == MVT::f64) in getFPEXT()
242 if (RetVT == MVT::f64) in getFPEXT()
264 if (RetVT == MVT::f16) { in getFPROUND()
303 if (RetVT == MVT::i32) in getFPTOSINT()
305 if (RetVT == MVT::i64) in getFPTOSINT()
310 if (RetVT == MVT::i32) in getFPTOSINT()
312 if (RetVT == MVT::i64) in getFPTOSINT()
317 if (RetVT == MVT::i32) in getFPTOSINT()
319 if (RetVT == MVT::i64) in getFPTOSINT()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp1289 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_rr()
1322 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_ri()
1371 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_rs()
1413 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_rx()
1482 if (RetVT != MVT::f32 && RetVT != MVT::f64) in emitFCmp()
1634 if (RetVT >= MVT::i8 && RetVT <= MVT::i16) { in emitLogicalOp()
1721 if (RetVT >= MVT::i8 && RetVT <= MVT::i16) { in emitLogicalOp_rs()
3336 if (RetVT != MVT::i32 && RetVT != MVT::i64) in foldXALUIntrinsic()
4023 assert((RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32 || in emitLSL_ri()
4126 assert((RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32 || in emitLSR_ri()
[all …]
H A DAArch64ISelLowering.cpp16236 const EVT RetVT = N->getValueType(0); in performGatherLoadCombine() local
16237 assert(RetVT.isScalableVector() && in performGatherLoadCombine()
16243 if (RetVT.getSizeInBits().getKnownMinSize() > AArch64::SVEBitsPerBlock) in performGatherLoadCombine()
16258 RetVT.getScalarSizeInBits()); in performGatherLoadCombine()
16306 EVT HwRetVt = getSVEContainerType(RetVT); in performGatherLoadCombine()
16311 SDValue OutVT = DAG.getValueType(RetVT); in performGatherLoadCombine()
16312 if (RetVT.isFloatingPoint()) in performGatherLoadCombine()
16323 if (RetVT.isInteger() && (RetVT != HwRetVt)) in performGatherLoadCombine()
16324 Load = DAG.getNode(ISD::TRUNCATE, DL, RetVT, Load.getValue(0)); in performGatherLoadCombine()
16328 if (RetVT.isFloatingPoint()) in performGatherLoadCombine()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DFastISelEmitter.cpp518 MVT::SimpleValueType RetVT = MVT::isVoid; in collectPatterns() local
519 if (InstPatNode->getNumTypes()) RetVT = InstPatNode->getSimpleType(0); in collectPatterns()
520 MVT::SimpleValueType VT = RetVT; in collectPatterns()
592 [RetVT].count(PredicateCheck)) { in collectPatterns()
596 SimplePatternsCheck[Operands][OpcodeName][VT][RetVT].insert( in collectPatterns()
601 SimplePatterns[Operands][OpcodeName][VT][RetVT].emplace(complexity, in collectPatterns()
711 MVT::SimpleValueType RetVT = RI.first; in printFunctionDefinitions() local
716 << getLegalCName(std::string(getName(RetVT))) << "_"; in printFunctionDefinitions()
735 MVT::SimpleValueType RetVT = RI.first; in printFunctionDefinitions() local
736 OS << " case " << getName(RetVT) << ": return fastEmit_" in printFunctionDefinitions()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp1499 if (RetVT != MVT::isVoid) { in finishCall()
1512 if (RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32) in finishCall()
1518 if (RetVT == CopyVT) { in finishCall()
1532 } else if (RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32) { in finishCall()
1572 MVT RetVT; in fastLowerCall() local
1574 RetVT = MVT::isVoid; in fastLowerCall()
1575 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 && in fastLowerCall()
1576 RetVT != MVT::i8) in fastLowerCall()
1583 if (RetVT != MVT::isVoid && RetVT != MVT::i8 && RetVT != MVT::i16 && in fastLowerCall()
1584 RetVT != MVT::i32 && RetVT != MVT::i64 && RetVT != MVT::f32 && in fastLowerCall()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFastISel.cpp2028 if (RetVT != MVT::isVoid) { in FinishCall()
2055 if (RetVT == MVT::i1 || RetVT == MVT::i8 || RetVT == MVT::i16) in FinishCall()
2204 MVT RetVT; in ARMEmitLibcall() local
2206 RetVT = MVT::isVoid; in ARMEmitLibcall()
2211 if (RetVT != MVT::isVoid && RetVT != MVT::i32) { in ARMEmitLibcall()
2311 MVT RetVT; in SelectCall() local
2313 RetVT = MVT::isVoid; in SelectCall()
2314 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 && in SelectCall()
2315 RetVT != MVT::i8 && RetVT != MVT::i1) in SelectCall()
2319 if (RetVT != MVT::isVoid && RetVT != MVT::i1 && RetVT != MVT::i8 && in SelectCall()
[all …]
H A DARMISelLowering.cpp3146 auto RetVT = Outs[realRVLocIdx].ArgVT; in LowerReturn() local
3147 if (AFI->isCmseNSEntryFunction() && (RetVT == MVT::f16)) { in LowerReturn()
3152 auto MaskValue = APInt::getLowBitsSet(LocBits, RetVT.getSizeInBits()); in LowerReturn()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp244 MVT RetVT; in foldX86XALUIntrinsic() local
248 if (!isTypeLegal(RetTy, RetVT)) in foldX86XALUIntrinsic()
251 if (RetVT != MVT::i32 && RetVT != MVT::i64) in foldX86XALUIntrinsic()
2039 if (RetVT < MVT::i16 || RetVT > MVT::i64) in X86FastEmitCMoveSelect()
2261 switch (RetVT.SimpleTy) { in X86FastEmitSSESelect()
2284 switch (RetVT.SimpleTy) { in X86FastEmitPseudoSelect()
2353 MVT RetVT; in X86SelectSelect() local
2354 if (!isTypeLegal(I->getType(), RetVT)) in X86SelectSelect()
2382 if (X86FastEmitCMoveSelect(RetVT, I)) in X86SelectSelect()
2386 if (X86FastEmitSSESelect(RetVT, I)) in X86SelectSelect()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp201 unsigned emitLogicalOp(unsigned ISDOpc, MVT RetVT, const Value *LHS,
295 unsigned MipsFastISel::emitLogicalOp(unsigned ISDOpc, MVT RetVT, in emitLogicalOp() argument
1276 bool MipsFastISel::finishCall(CallLoweringInfo &CLI, MVT RetVT, in finishCall() argument
1280 if (RetVT != MVT::isVoid) { in finishCall()
1294 if (RetVT == MVT::i1 || RetVT == MVT::i8 || RetVT == MVT::i16) in finishCall()
1512 MVT RetVT; in fastLowerCall() local
1514 RetVT = MVT::isVoid; in fastLowerCall()
1515 else if (!isTypeSupported(CLI.RetTy, RetVT)) in fastLowerCall()
1583 return finishCall(CLI, RetVT, NumBytes); in fastLowerCall()
1960 MVT RetVT; in selectShift() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp935 if (Promoted.bitsGE(RetVT)) in findFPToIntLibcall()
1997 EVT RetVT = N->getOperand(0).getValueType(); in ExpandFloatOp_LROUND() local
1999 return TLI.makeLibCall(DAG, GetFPLibCall(RetVT, in ExpandFloatOp_LROUND()
2010 EVT RetVT = N->getOperand(0).getValueType(); in ExpandFloatOp_LLROUND() local
2012 return TLI.makeLibCall(DAG, GetFPLibCall(RetVT, in ExpandFloatOp_LLROUND()
2023 EVT RetVT = N->getOperand(0).getValueType(); in ExpandFloatOp_LRINT() local
2025 return TLI.makeLibCall(DAG, GetFPLibCall(RetVT, in ExpandFloatOp_LRINT()
2036 EVT RetVT = N->getOperand(0).getValueType(); in ExpandFloatOp_LLRINT() local
2038 return TLI.makeLibCall(DAG, GetFPLibCall(RetVT, in ExpandFloatOp_LLRINT()
2052 static ISD::NodeType GetPromotionOpcode(EVT OpVT, EVT RetVT) { in GetPromotionOpcode() argument
[all …]
H A DLegalizeDAG.cpp2001 EVT RetVT = Node->getValueType(0); in ExpandLibCall() local
2002 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall()
2050 EVT RetVT = Node->getValueType(0); in ExpandFPLibCall() local
2136 EVT RetVT = Node->getValueType(0); in ExpandDivRemLibCall() local
2137 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandDivRemLibCall()
2152 SDValue FIPtr = DAG.CreateStackTemporary(RetVT); in ExpandDivRemLibCall()
2231 EVT RetVT = Node->getValueType(0); in ExpandSinCosLibCall() local
2232 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandSinCosLibCall()
2245 SDValue SinPtr = DAG.CreateStackTemporary(RetVT); in ExpandSinCosLibCall()
2253 SDValue CosPtr = DAG.CreateStackTemporary(RetVT); in ExpandSinCosLibCall()
[all …]
H A DTargetLowering.cpp139 TargetLowering::makeLibCall(SelectionDAG &DAG, RTLIB::Libcall LC, EVT RetVT, in makeLibCall() argument
171 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in makeLibCall()
396 EVT RetVT = getCmpLibcallReturnType(); in softenSetCCOperands() local
401 CallOptions.setTypeListBeforeSoften(OpsVT, RetVT, true); in softenSetCCOperands()
402 auto Call = makeLibCall(DAG, LC1, RetVT, Ops, CallOptions, dl, Chain); in softenSetCCOperands()
404 NewRHS = DAG.getConstant(0, dl, RetVT); in softenSetCCOperands()
408 assert(RetVT.isInteger()); in softenSetCCOperands()
409 CCCode = getSetCCInverse(CCCode, RetVT); in softenSetCCOperands()
417 getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), RetVT); in softenSetCCOperands()
419 auto Call2 = makeLibCall(DAG, LC2, RetVT, Ops, CallOptions, dl, Chain); in softenSetCCOperands()
[all …]
H A DFastISel.cpp2117 Register FastISel::fastEmitInst_extractsubreg(MVT RetVT, unsigned Op0, in fastEmitInst_extractsubreg() argument
2119 Register ResultReg = createResultReg(TLI.getRegClassFor(RetVT)); in fastEmitInst_extractsubreg()
H A DLegalizeVectorTypes.cpp5160 EVT RetVT = WidenEltVT; in FindMemType() local
5162 return RetVT; in FindMemType()
5181 RetVT = MemVT; in FindMemType()
5202 if (RetVT.getFixedSizeInBits() < MemVTWidth || MemVT == WidenVT) in FindMemType()
5210 return RetVT; in FindMemType()
H A DLegalizeIntegerTypes.cpp2269 EVT RetVT = Node->getValueType(0); in ExpandAtomic() local
2281 return TLI.makeLibCall(DAG, LC, RetVT, Ops, CallOptions, SDLoc(Node), in ExpandAtomic()
3178 EVT RetVT = N->getValueType(0); in ExpandIntRes_LLROUND_LLRINT() local
3183 std::pair<SDValue, SDValue> Tmp = TLI.makeLibCall(DAG, LC, RetVT, in ExpandIntRes_LLROUND_LLRINT()
H A DSelectionDAGBuilder.cpp6290 EVT RetVT = TLI.getValueType(DAG.getDataLayout(), I.getType()); in visitIntrinsicCall() local
6291 setValue(&I, DAG.getNode(Opcode, sdl, RetVT, in visitIntrinsicCall()
9424 EVT RetVT = OldRetTys[i]; in LowerCallTo() local
9426 MVT RegisterVT = getRegisterType(CLI.RetTy->getContext(), RetVT); in LowerCallTo()
9427 unsigned NumRegs = getNumRegisters(CLI.RetTy->getContext(), RetVT); in LowerCallTo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp1156 EVT RetVT = TLI.getValueType(DL, I->getType()); in selectBitCast() local
1157 if (!VT.isSimple() || !RetVT.isSimple()) in selectBitCast()
1164 if (VT == RetVT) { in selectBitCast()
1170 Register Reg = fastEmit_ISD_BITCAST_r(VT.getSimpleVT(), RetVT.getSimpleVT(), in selectBitCast()