Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp182 if (RetVT == MVT::f32) in getFPEXT()
185 if (RetVT == MVT::f64) in getFPEXT()
207 if (RetVT == MVT::f16) { in getFPROUND()
246 if (RetVT == MVT::i32) in getFPTOSINT()
248 if (RetVT == MVT::i64) in getFPTOSINT()
253 if (RetVT == MVT::i32) in getFPTOSINT()
255 if (RetVT == MVT::i64) in getFPTOSINT()
260 if (RetVT == MVT::i32) in getFPTOSINT()
262 if (RetVT == MVT::i64) in getFPTOSINT()
267 if (RetVT == MVT::i32) in getFPTOSINT()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp1291 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_rr()
1324 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_ri()
1374 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_rs()
1417 if (RetVT != MVT::i32 && RetVT != MVT::i64) in emitAddSub_rx()
1487 if (RetVT != MVT::f32 && RetVT != MVT::f64) in emitFCmp()
1651 if (RetVT >= MVT::i8 && RetVT <= MVT::i16) { in emitLogicalOp()
1740 if (RetVT >= MVT::i8 && RetVT <= MVT::i16) { in emitLogicalOp_rs()
3361 if (RetVT != MVT::i32 && RetVT != MVT::i64) in foldXALUIntrinsic()
4062 assert((RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32 || in emitLSL_ri()
4169 assert((RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32 || in emitLSR_ri()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DRuntimeLibcalls.h38 Libcall getFPEXT(EVT OpVT, EVT RetVT);
42 Libcall getFPROUND(EVT OpVT, EVT RetVT);
46 Libcall getFPTOSINT(EVT OpVT, EVT RetVT);
50 Libcall getFPTOUINT(EVT OpVT, EVT RetVT);
54 Libcall getSINTTOFP(EVT OpVT, EVT RetVT);
58 Libcall getUINTTOFP(EVT OpVT, EVT RetVT);
H A DFastISel.h355 virtual unsigned fastEmit_(MVT VT, MVT RetVT, unsigned Opcode);
359 virtual unsigned fastEmit_r(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
364 virtual unsigned fastEmit_rr(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
370 virtual unsigned fastEmit_ri(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
383 virtual unsigned fastEmit_i(MVT VT, MVT RetVT, unsigned Opcode, uint64_t Imm);
388 virtual unsigned fastEmit_f(MVT VT, MVT RetVT, unsigned Opcode,
447 unsigned fastEmitInst_extractsubreg(MVT RetVT, unsigned Op0, bool Op0IsKill,
H A DTargetLowering.h2838 EVT RetVT, ArrayRef<SDValue> Ops,
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DFastISelEmitter.cpp523 MVT::SimpleValueType RetVT = MVT::isVoid; in collectPatterns() local
525 MVT::SimpleValueType VT = RetVT; in collectPatterns()
597 [RetVT].count(PredicateCheck)) { in collectPatterns()
601 SimplePatternsCheck[Operands][OpcodeName][VT][RetVT].insert( in collectPatterns()
606 SimplePatterns[Operands][OpcodeName][VT][RetVT].emplace(complexity, in collectPatterns()
720 MVT::SimpleValueType RetVT = RI->first; in printFunctionDefinitions() local
726 << "_" << getLegalCName(getName(RetVT)) << "_"; in printFunctionDefinitions()
732 emitInstructionCode(OS, Operands, PM, getName(RetVT)); in printFunctionDefinitions()
747 MVT::SimpleValueType RetVT = RI->first; in printFunctionDefinitions() local
748 OS << " case " << getName(RetVT) << ": return fastEmit_" in printFunctionDefinitions()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp1502 if (RetVT != MVT::isVoid) { in finishCall()
1515 if (RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32) in finishCall()
1521 if (RetVT == CopyVT) { in finishCall()
1539 } else if (RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32) { in finishCall()
1578 MVT RetVT; in fastLowerCall() local
1580 RetVT = MVT::isVoid; in fastLowerCall()
1581 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 && in fastLowerCall()
1582 RetVT != MVT::i8) in fastLowerCall()
1589 if (RetVT != MVT::isVoid && RetVT != MVT::i8 && RetVT != MVT::i16 && in fastLowerCall()
1590 RetVT != MVT::i32 && RetVT != MVT::i64 && RetVT != MVT::f32 && in fastLowerCall()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMFastISel.cpp2053 if (RetVT != MVT::isVoid) { in FinishCall()
2080 if (RetVT == MVT::i1 || RetVT == MVT::i8 || RetVT == MVT::i16) in FinishCall()
2218 MVT RetVT; in ARMEmitLibcall() local
2220 RetVT = MVT::isVoid; in ARMEmitLibcall()
2225 if (RetVT != MVT::isVoid && RetVT != MVT::i32) { in ARMEmitLibcall()
2325 MVT RetVT; in SelectCall() local
2327 RetVT = MVT::isVoid; in SelectCall()
2328 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 && in SelectCall()
2329 RetVT != MVT::i8 && RetVT != MVT::i1) in SelectCall()
2333 if (RetVT != MVT::isVoid && RetVT != MVT::i1 && RetVT != MVT::i8 && in SelectCall()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86FastISel.cpp248 MVT RetVT; in foldX86XALUIntrinsic() local
252 if (!isTypeLegal(RetTy, RetVT)) in foldX86XALUIntrinsic()
255 if (RetVT != MVT::i32 && RetVT != MVT::i64) in foldX86XALUIntrinsic()
2036 if (RetVT < MVT::i16 || RetVT > MVT::i64) in X86FastEmitCMoveSelect()
2204 switch (RetVT.SimpleTy) { in X86FastEmitSSESelect()
2301 switch (RetVT.SimpleTy) { in X86FastEmitPseudoSelect()
2374 MVT RetVT; in X86SelectSelect() local
2375 if (!isTypeLegal(I->getType(), RetVT)) in X86SelectSelect()
2404 if (X86FastEmitCMoveSelect(RetVT, I)) in X86SelectSelect()
2408 if (X86FastEmitSSESelect(RetVT, I)) in X86SelectSelect()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp202 unsigned emitLogicalOp(unsigned ISDOpc, MVT RetVT, const Value *LHS,
297 unsigned MipsFastISel::emitLogicalOp(unsigned ISDOpc, MVT RetVT, in emitLogicalOp() argument
1274 bool MipsFastISel::finishCall(CallLoweringInfo &CLI, MVT RetVT, in finishCall() argument
1278 if (RetVT != MVT::isVoid) { in finishCall()
1292 if (RetVT == MVT::i1 || RetVT == MVT::i8 || RetVT == MVT::i16) in finishCall()
1510 MVT RetVT; in fastLowerCall() local
1512 RetVT = MVT::isVoid; in fastLowerCall()
1513 else if (!isTypeSupported(CLI.RetTy, RetVT)) in fastLowerCall()
1581 return finishCall(CLI, RetVT, NumBytes); in fastLowerCall()
1958 MVT RetVT; in selectShift() local
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp1115 EVT RetVT = TLI.getValueType(DL, I->getType()); in selectBitCast() local
1116 if (!VT.isSimple() || !RetVT.isSimple()) in selectBitCast()
1123 if (VT == RetVT) { in selectBitCast()
1129 unsigned Reg = fastEmit_ISD_BITCAST_r(VT.getSimpleVT(), RetVT.getSimpleVT(), in selectBitCast()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp140 SDValue ExpandLibCall(RTLIB::Libcall LC, EVT RetVT, const SDValue *Ops,
2010 EVT RetVT = Node->getValueType(0); in ExpandLibCall() local
2011 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall()
2071 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall()
2185 EVT RetVT = Node->getValueType(0); in ExpandDivRemLibCall() local
2186 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandDivRemLibCall()
2201 SDValue FIPtr = DAG.CreateStackTemporary(RetVT); in ExpandDivRemLibCall()
2280 EVT RetVT = Node->getValueType(0); in ExpandSinCosLibCall() local
2281 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandSinCosLibCall()
2294 SDValue SinPtr = DAG.CreateStackTemporary(RetVT); in ExpandSinCosLibCall()
[all …]
H A DTargetLowering.cpp121 TargetLowering::makeLibCall(SelectionDAG &DAG, RTLIB::Libcall LC, EVT RetVT, in makeLibCall() argument
142 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in makeLibCall()
144 bool signExtend = shouldSignExtendTypeInLibCall(RetVT, isSigned); in makeLibCall()
260 EVT RetVT = getCmpLibcallReturnType(); in softenSetCCOperands() local
262 NewLHS = makeLibCall(DAG, LC1, RetVT, Ops, false /*sign irrelevant*/, in softenSetCCOperands()
264 NewRHS = DAG.getConstant(0, dl, RetVT); in softenSetCCOperands()
273 getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), RetVT), in softenSetCCOperands()
275 NewLHS = makeLibCall(DAG, LC2, RetVT, Ops, false/*sign irrelevant*/, in softenSetCCOperands()
279 getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), RetVT), in softenSetCCOperands()
H A DLegalizeVectorTypes.cpp4084 EVT RetVT = WidenEltVT; in FindMemType() local
4086 return RetVT; in FindMemType()
4103 RetVT = MemVT; in FindMemType()
4119 if (RetVT.getSizeInBits() < MemVTWidth || MemVT == WidenVT) in FindMemType()
4124 return RetVT; in FindMemType()
H A DFastISel.cpp2221 unsigned FastISel::fastEmitInst_extractsubreg(MVT RetVT, unsigned Op0, in fastEmitInst_extractsubreg() argument
2223 unsigned ResultReg = createResultReg(TLI.getRegClassFor(RetVT)); in fastEmitInst_extractsubreg()
H A DLegalizeFloatTypes.cpp1740 static ISD::NodeType GetPromotionOpcode(EVT OpVT, EVT RetVT) { in GetPromotionOpcode() argument
1743 } else if (RetVT == MVT::f16) { in GetPromotionOpcode()
H A DSelectionDAGBuilder.cpp8441 EVT RetVT = OldRetTys[i]; in LowerCallTo() local
8443 MVT RegisterVT = getRegisterType(CLI.RetTy->getContext(), RetVT); in LowerCallTo()
8444 unsigned NumRegs = getNumRegisters(CLI.RetTy->getContext(), RetVT); in LowerCallTo()