Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp435 RTLIB::Libcall RTLIB::getFPEXT(EVT OpVT, EVT RetVT) { in getFPEXT() argument
437 if (RetVT == MVT::f32) in getFPEXT()
440 if (RetVT == MVT::f64) in getFPEXT()
442 if (RetVT == MVT::f128) in getFPEXT()
445 if (RetVT == MVT::f128) in getFPEXT()
454 RTLIB::Libcall RTLIB::getFPROUND(EVT OpVT, EVT RetVT) { in getFPROUND() argument
455 if (RetVT == MVT::f16) { in getFPROUND()
466 } else if (RetVT == MVT::f32) { in getFPROUND()
475 } else if (RetVT == MVT::f64) { in getFPROUND()
489 RTLIB::Libcall RTLIB::getFPTOSINT(EVT OpVT, EVT RetVT) { in getFPTOSINT() argument
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp153 bool optimizeIntExtLoad(const Instruction *I, MVT RetVT, MVT SrcVT);
158 unsigned emitAddSub(bool UseAdd, MVT RetVT, const Value *LHS,
161 unsigned emitAddSub_rr(bool UseAdd, MVT RetVT, unsigned LHSReg,
164 unsigned emitAddSub_ri(bool UseAdd, MVT RetVT, unsigned LHSReg,
167 unsigned emitAddSub_rs(bool UseAdd, MVT RetVT, unsigned LHSReg,
172 unsigned emitAddSub_rx(bool UseAdd, MVT RetVT, unsigned LHSReg,
181 bool emitICmp(MVT RetVT, const Value *LHS, const Value *RHS, bool IsZExt);
182 bool emitICmp_ri(MVT RetVT, unsigned LHSReg, bool LHSIsKill, uint64_t Imm);
183 bool emitFCmp(MVT RetVT, const Value *LHS, const Value *RHS);
190 unsigned emitAdd(MVT RetVT, const Value *LHS, const Value *RHS,
[all …]
/minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/
H A DRuntimeLibcalls.h407 Libcall getFPEXT(EVT OpVT, EVT RetVT);
411 Libcall getFPROUND(EVT OpVT, EVT RetVT);
415 Libcall getFPTOSINT(EVT OpVT, EVT RetVT);
419 Libcall getFPTOUINT(EVT OpVT, EVT RetVT);
423 Libcall getSINTTOFP(EVT OpVT, EVT RetVT);
427 Libcall getUINTTOFP(EVT OpVT, EVT RetVT);
H A DFastISel.h332 virtual unsigned fastEmit_(MVT VT, MVT RetVT, unsigned Opcode);
336 virtual unsigned fastEmit_r(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
341 virtual unsigned fastEmit_rr(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
347 virtual unsigned fastEmit_ri(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
353 virtual unsigned fastEmit_rf(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
359 virtual unsigned fastEmit_rri(MVT VT, MVT RetVT, unsigned Opcode,
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,
449 unsigned fastEmitInst_extractsubreg(MVT RetVT, unsigned Op0, bool Op0IsKill,
/minix3/external/bsd/llvm/dist/llvm/utils/TableGen/
H A DFastISelEmitter.cpp514 MVT::SimpleValueType RetVT = MVT::isVoid; in collectPatterns() local
515 if (InstPatNode->getNumTypes()) RetVT = InstPatNode->getType(0); in collectPatterns()
516 MVT::SimpleValueType VT = RetVT; in collectPatterns()
589 [RetVT].count(PredicateCheck)) { in collectPatterns()
593 SimplePatternsCheck[Operands][OpcodeName][VT][RetVT].insert( in collectPatterns()
598 SimplePatterns[Operands][OpcodeName][VT][RetVT].insert( in collectPatterns()
715 MVT::SimpleValueType RetVT = RI->first; in printFunctionDefinitions() local
721 << "_" << getLegalCName(getName(RetVT)) << "_"; in printFunctionDefinitions()
727 emitInstructionCode(OS, Operands, PM, getName(RetVT)); in printFunctionDefinitions()
742 MVT::SimpleValueType RetVT = RI->first; in printFunctionDefinitions() local
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp179 bool finishCall(MVT RetVT, CallLoweringInfo &CLI, unsigned &NumBytes);
1342 bool PPCFastISel::finishCall(MVT RetVT, CallLoweringInfo &CLI, unsigned &NumBytes) { in finishCall() argument
1353 if (RetVT != MVT::isVoid) { in finishCall()
1356 CCInfo.AnalyzeCallResult(RetVT, RetCC_PPC64_ELF_FIS); in finishCall()
1366 if (RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32) in finishCall()
1372 if (RetVT == CopyVT) { in finishCall()
1382 ResultReg = createResultReg(TLI.getRegClassFor(RetVT)); in finishCall()
1390 } else if (RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32) { in finishCall()
1429 MVT RetVT; in fastLowerCall() local
1431 RetVT = MVT::isVoid; in fastLowerCall()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/ARM/
H A DARMFastISel.cpp210 bool FinishCall(MVT RetVT, SmallVectorImpl<unsigned> &UsedRegs,
2027 bool ARMFastISel::FinishCall(MVT RetVT, SmallVectorImpl<unsigned> &UsedRegs, in FinishCall() argument
2037 if (RetVT != MVT::isVoid) { in FinishCall()
2040 CCInfo.AnalyzeCallResult(RetVT, CCAssignFnForCall(CC, true, isVarArg)); in FinishCall()
2043 if (RVLocs.size() == 2 && RetVT == MVT::f64) { in FinishCall()
2064 if (RetVT == MVT::i1 || RetVT == MVT::i8 || RetVT == MVT::i16) in FinishCall()
2196 MVT RetVT; in ARMEmitLibcall() local
2198 RetVT = MVT::isVoid; in ARMEmitLibcall()
2199 else if (!isTypeLegal(RetTy, RetVT)) in ARMEmitLibcall()
2203 if (RetVT != MVT::isVoid && RetVT != MVT::i32) { in ARMEmitLibcall()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp153 bool finishCall(CallLoweringInfo &CLI, MVT RetVT, unsigned NumBytes);
873 bool MipsFastISel::finishCall(CallLoweringInfo &CLI, MVT RetVT, in finishCall() argument
877 if (RetVT != MVT::isVoid) { in finishCall()
880 CCInfo.AnalyzeCallResult(RetVT, RetCC_Mips); in finishCall()
888 if (RetVT == MVT::i1 || RetVT == MVT::i8 || RetVT == MVT::i16) in finishCall()
919 MVT RetVT; in fastLowerCall() local
921 RetVT = MVT::isVoid; in fastLowerCall()
922 else if (!isTypeLegal(CLI.RetTy, RetVT)) in fastLowerCall()
982 return finishCall(CLI, RetVT, NumBytes); in fastLowerCall()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86FastISel.cpp116 bool X86FastEmitCMoveSelect(MVT RetVT, const Instruction *I);
118 bool X86FastEmitSSESelect(MVT RetVT, const Instruction *I);
120 bool X86FastEmitPseudoSelect(MVT RetVT, const Instruction *I);
252 MVT RetVT; in foldX86XALUIntrinsic() local
256 if (!isTypeLegal(RetTy, RetVT)) in foldX86XALUIntrinsic()
259 if (RetVT != MVT::i32 && RetVT != MVT::i64) in foldX86XALUIntrinsic()
1693 bool X86FastISel::X86FastEmitCMoveSelect(MVT RetVT, const Instruction *I) { in X86FastEmitCMoveSelect() argument
1699 if (RetVT < MVT::i16 || RetVT > MVT::i64) in X86FastEmitCMoveSelect()
1703 const TargetRegisterClass *RC = TLI.getRegClassFor(RetVT); in X86FastEmitCMoveSelect()
1813 bool X86FastISel::X86FastEmitSSESelect(MVT RetVT, const Instruction *I) { in X86FastEmitSSESelect() argument
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp87 RTLIB::Libcall LC, EVT RetVT, in makeLibCall() argument
105 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in makeLibCall()
107 bool signExtend = shouldSignExtendTypeInLibCall(RetVT, isSigned); in makeLibCall()
200 EVT RetVT = getCmpLibcallReturnType(); in softenSetCCOperands() local
202 NewLHS = makeLibCall(DAG, LC1, RetVT, Ops, 2, false/*sign irrelevant*/, in softenSetCCOperands()
204 NewRHS = DAG.getConstant(0, RetVT); in softenSetCCOperands()
208 getSetCCResultType(*DAG.getContext(), RetVT), in softenSetCCOperands()
210 NewLHS = makeLibCall(DAG, LC2, RetVT, Ops, 2, false/*sign irrelevant*/, in softenSetCCOperands()
213 getSetCCResultType(*DAG.getContext(), RetVT), NewLHS, in softenSetCCOperands()
H A DLegalizeDAG.cpp110 SDValue ExpandLibCall(RTLIB::Libcall LC, EVT RetVT, const SDValue *Ops,
2079 SDValue SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, EVT RetVT, in ExpandLibCall() argument
2096 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall()
2241 EVT RetVT = Node->getValueType(0); in ExpandDivRemLibCall() local
2242 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandDivRemLibCall()
2256 SDValue FIPtr = DAG.CreateStackTemporary(RetVT); in ExpandDivRemLibCall()
2275 SDValue Rem = DAG.getLoad(RetVT, dl, CallInfo.second, FIPtr, in ExpandDivRemLibCall()
2346 EVT RetVT = Node->getValueType(0); in ExpandSinCosLibCall() local
2347 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandSinCosLibCall()
2360 SDValue SinPtr = DAG.CreateStackTemporary(RetVT); in ExpandSinCosLibCall()
[all …]
H A DLegalizeVectorTypes.cpp2879 EVT RetVT = WidenEltVT; in FindMemType() local
2881 return RetVT; in FindMemType()
2895 RetVT = MemVT; in FindMemType()
2911 if (RetVT.getSizeInBits() < MemVTWidth || MemVT == WidenVT) in FindMemType()
2916 return RetVT; in FindMemType()
H A DFastISel.cpp1940 unsigned FastISel::fastEmitInst_extractsubreg(MVT RetVT, unsigned Op0, in fastEmitInst_extractsubreg() argument
1942 unsigned ResultReg = createResultReg(TLI.getRegClassFor(RetVT)); in fastEmitInst_extractsubreg()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Target/
H A DTargetLowering.h2084 EVT RetVT, const SDValue *Ops,