Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp235 if (RetVT == MVT::f32) in getFPEXT()
237 if (RetVT == MVT::f64) in getFPEXT()
239 if (RetVT == MVT::f80) in getFPEXT()
244 if (RetVT == MVT::f64) in getFPEXT()
266 if (RetVT == MVT::f16) { in getFPROUND()
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()
324 if (RetVT == MVT::i32) in getFPTOSINT()
[all …]
/openbsd/gnu/llvm/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.h347 virtual unsigned fastEmit_(MVT VT, MVT RetVT, unsigned Opcode);
351 virtual unsigned fastEmit_r(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0);
355 virtual unsigned fastEmit_rr(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
361 virtual unsigned fastEmit_ri(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
374 virtual unsigned fastEmit_i(MVT VT, MVT RetVT, unsigned Opcode, uint64_t Imm);
379 virtual unsigned fastEmit_f(MVT VT, MVT RetVT, unsigned Opcode,
435 Register fastEmitInst_extractsubreg(MVT RetVT, unsigned Op0, uint32_t Idx);
H A DTargetLowering.h3629 EVT RetVT, ArrayRef<SDValue> Ops,
4371 MakeLibCallOptions &setTypeListBeforeSoften(ArrayRef<EVT> OpsVT, EVT RetVT,
4374 RetVTBeforeSoften = RetVT;
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp1313 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_rr()
1346 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_ri()
1395 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_rs()
1437 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_rx()
1506 if (RetVT != MVT::f32 && RetVT != MVT::f64) in emitFCmp()
1658 if (RetVT >= MVT::i8 && RetVT <= MVT::i16) { in emitLogicalOp()
1745 if (RetVT >= MVT::i8 && RetVT <= MVT::i16) { in emitLogicalOp_rs()
3373 if (RetVT != MVT::i32 && RetVT != MVT::i64) in foldXALUIntrinsic()
4062 assert((RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32 || in emitLSL_ri()
4165 assert((RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32 || in emitLSR_ri()
[all …]
H A DAArch64ISelLowering.cpp20934 const EVT RetVT = N->getValueType(0); in performGatherLoadCombine() local
20935 assert(RetVT.isScalableVector() && in performGatherLoadCombine()
20941 if (RetVT.getSizeInBits().getKnownMinValue() > AArch64::SVEBitsPerBlock) in performGatherLoadCombine()
20956 RetVT.getScalarSizeInBits()); in performGatherLoadCombine()
21004 EVT HwRetVt = getSVEContainerType(RetVT); in performGatherLoadCombine()
21009 SDValue OutVT = DAG.getValueType(RetVT); in performGatherLoadCombine()
21010 if (RetVT.isFloatingPoint()) in performGatherLoadCombine()
21021 if (RetVT.isInteger() && (RetVT != HwRetVt)) in performGatherLoadCombine()
21022 Load = DAG.getNode(ISD::TRUNCATE, DL, RetVT, Load.getValue(0)); in performGatherLoadCombine()
21026 if (RetVT.isFloatingPoint()) in performGatherLoadCombine()
[all …]
/openbsd/gnu/llvm/llvm/utils/TableGen/
H A DFastISelEmitter.cpp513 MVT::SimpleValueType RetVT = MVT::isVoid; in collectPatterns() local
514 if (InstPatNode->getNumTypes()) RetVT = InstPatNode->getSimpleType(0); in collectPatterns()
515 MVT::SimpleValueType VT = RetVT; in collectPatterns()
586 std::make_tuple(Operands, OpcodeName, VT, RetVT, PredicateCheck)); in collectPatterns()
594 SimplePatterns[Operands][OpcodeName][VT][RetVT].emplace(complexity, in collectPatterns()
704 MVT::SimpleValueType RetVT = RI.first; in printFunctionDefinitions() local
709 << getLegalCName(std::string(getName(RetVT))) << "_"; in printFunctionDefinitions()
715 emitInstructionCode(OS, Operands, PM, std::string(getName(RetVT))); in printFunctionDefinitions()
728 MVT::SimpleValueType RetVT = RI.first; in printFunctionDefinitions() local
729 OS << " case " << getName(RetVT) << ": return fastEmit_" in printFunctionDefinitions()
[all …]
/openbsd/gnu/llvm/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.cpp18065 EVT RetVT = Op.getValueType(); in lowerToLibCall() local
18066 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in lowerToLibCall()
18069 bool SignExtend = TLI.shouldSignExtendTypeInLibCall(RetVT, false); in lowerToLibCall()
/openbsd/gnu/llvm/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.cpp3237 auto RetVT = Outs[realRVLocIdx].ArgVT; in LowerReturn() local
3238 if (AFI->isCmseNSEntryFunction() && (RetVT == MVT::f16)) { in LowerReturn()
3243 auto MaskValue = APInt::getLowBitsSet(LocBits, RetVT.getSizeInBits()); in LowerReturn()
/openbsd/gnu/llvm/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()
2032 if (RetVT < MVT::i16 || RetVT > MVT::i64) in X86FastEmitCMoveSelect()
2254 switch (RetVT.SimpleTy) { in X86FastEmitSSESelect()
2277 switch (RetVT.SimpleTy) { in X86FastEmitPseudoSelect()
2348 MVT RetVT; in X86SelectSelect() local
2349 if (!isTypeLegal(I->getType(), RetVT)) in X86SelectSelect()
2377 if (X86FastEmitCMoveSelect(RetVT, I)) in X86SelectSelect()
2381 if (X86FastEmitSSESelect(RetVT, I)) in X86SelectSelect()
[all …]
/openbsd/gnu/llvm/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 …]
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp956 if (Promoted.bitsGE(RetVT)) in findFPToIntLibcall()
2019 EVT RetVT = N->getOperand(0).getValueType(); in ExpandFloatOp_LROUND() local
2021 return TLI.makeLibCall(DAG, GetFPLibCall(RetVT, in ExpandFloatOp_LROUND()
2032 EVT RetVT = N->getOperand(0).getValueType(); in ExpandFloatOp_LLROUND() local
2034 return TLI.makeLibCall(DAG, GetFPLibCall(RetVT, in ExpandFloatOp_LLROUND()
2045 EVT RetVT = N->getOperand(0).getValueType(); in ExpandFloatOp_LRINT() local
2047 return TLI.makeLibCall(DAG, GetFPLibCall(RetVT, in ExpandFloatOp_LRINT()
2058 EVT RetVT = N->getOperand(0).getValueType(); in ExpandFloatOp_LLRINT() local
2060 return TLI.makeLibCall(DAG, GetFPLibCall(RetVT, in ExpandFloatOp_LLRINT()
2077 } else if (RetVT == MVT::f16) { in GetPromotionOpcode()
[all …]
H A DLegalizeDAG.cpp2038 EVT RetVT = Node->getValueType(0); in ExpandLibCall() local
2039 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall()
2087 EVT RetVT = Node->getValueType(0); in ExpandFPLibCall() local
2173 EVT RetVT = Node->getValueType(0); in ExpandDivRemLibCall() local
2174 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandDivRemLibCall()
2189 SDValue FIPtr = DAG.CreateStackTemporary(RetVT); in ExpandDivRemLibCall()
2266 EVT RetVT = Node->getValueType(0); in ExpandSinCosLibCall() local
2267 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandSinCosLibCall()
2280 SDValue SinPtr = DAG.CreateStackTemporary(RetVT); in ExpandSinCosLibCall()
2288 SDValue CosPtr = DAG.CreateStackTemporary(RetVT); in ExpandSinCosLibCall()
[all …]
H A DTargetLowering.cpp144 TargetLowering::makeLibCall(SelectionDAG &DAG, RTLIB::Libcall LC, EVT RetVT, in makeLibCall() argument
176 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in makeLibCall()
402 EVT RetVT = getCmpLibcallReturnType(); in softenSetCCOperands() local
407 CallOptions.setTypeListBeforeSoften(OpsVT, RetVT, true); in softenSetCCOperands()
408 auto Call = makeLibCall(DAG, LC1, RetVT, Ops, CallOptions, dl, Chain); in softenSetCCOperands()
410 NewRHS = DAG.getConstant(0, dl, RetVT); in softenSetCCOperands()
414 assert(RetVT.isInteger()); in softenSetCCOperands()
415 CCCode = getSetCCInverse(CCCode, RetVT); in softenSetCCOperands()
423 getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), RetVT); in softenSetCCOperands()
425 auto Call2 = makeLibCall(DAG, LC2, RetVT, Ops, CallOptions, dl, Chain); in softenSetCCOperands()
[all …]
H A DFastISel.cpp2110 Register FastISel::fastEmitInst_extractsubreg(MVT RetVT, unsigned Op0, in fastEmitInst_extractsubreg() argument
2112 Register ResultReg = createResultReg(TLI.getRegClassFor(RetVT)); in fastEmitInst_extractsubreg()
H A DLegalizeVectorTypes.cpp6629 EVT RetVT = WidenEltVT; in findMemType() local
6631 return RetVT; in findMemType()
6650 RetVT = MemVT; in findMemType()
6671 if (RetVT.getFixedSizeInBits() < MemVTWidth || MemVT == WidenVT) in findMemType()
6681 return RetVT; in findMemType()
H A DLegalizeIntegerTypes.cpp2588 EVT RetVT = Node->getValueType(0); in ExpandAtomic() local
2600 return TLI.makeLibCall(DAG, LC, RetVT, Ops, CallOptions, SDLoc(Node), in ExpandAtomic()
3560 EVT RetVT = N->getValueType(0); in ExpandIntRes_XROUND_XRINT() local
3564 std::pair<SDValue, SDValue> Tmp = TLI.makeLibCall(DAG, LC, RetVT, in ExpandIntRes_XROUND_XRINT()
H A DSelectionDAGBuilder.cpp6381 EVT RetVT = TLI.getValueType(DAG.getDataLayout(), I.getType()); in visitIntrinsicCall() local
6382 setValue(&I, DAG.getNode(Opcode, sdl, RetVT, in visitIntrinsicCall()
9893 EVT RetVT = OldRetTys[i]; in LowerCallTo() local
9895 MVT RegisterVT = getRegisterType(CLI.RetTy->getContext(), RetVT); in LowerCallTo()
9896 unsigned NumRegs = getNumRegisters(CLI.RetTy->getContext(), RetVT); in LowerCallTo()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp377 EVT RetVT = Op.getValueType(); in lowerUINT_TO_FP() local
378 RTLIB::Libcall LC = RTLIB::getUINTTOFP(OpVT, RetVT); in lowerUINT_TO_FP()
380 CallOptions.setTypeListBeforeSoften(OpVT, RetVT, true); in lowerUINT_TO_FP()
402 EVT RetVT = Op.getValueType(); in lowerSINT_TO_FP() local
403 RTLIB::Libcall LC = RTLIB::getSINTTOFP(OpVT, RetVT); in lowerSINT_TO_FP()
405 CallOptions.setTypeListBeforeSoften(OpVT, RetVT, true); in lowerSINT_TO_FP()
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h575 EVT RetVT, ArrayRef<SDValue> Ops, CallingConv::ID CallConv,
H A DSystemZISelLowering.cpp1889 SDValue Chain, SelectionDAG &DAG, const char *CalleeName, EVT RetVT, in makeExternalCall() argument
1907 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in makeExternalCall()
1909 bool SignExtend = shouldSignExtendTypeInLibCall(RetVT, IsSigned); in makeExternalCall()