Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp154 bool optimizeIntExtLoad(const Instruction *I, MVT RetVT, MVT SrcVT);
159 unsigned emitAddSub(bool UseAdd, MVT RetVT, const Value *LHS,
162 unsigned emitAddSub_rr(bool UseAdd, MVT RetVT, unsigned LHSReg,
165 unsigned emitAddSub_ri(bool UseAdd, MVT RetVT, unsigned LHSReg,
168 unsigned emitAddSub_rs(bool UseAdd, MVT RetVT, unsigned LHSReg,
173 unsigned emitAddSub_rx(bool UseAdd, MVT RetVT, unsigned LHSReg,
182 bool emitICmp(MVT RetVT, const Value *LHS, const Value *RHS, bool IsZExt);
183 bool emitICmp_ri(MVT RetVT, unsigned LHSReg, bool LHSIsKill, uint64_t Imm);
184 bool emitFCmp(MVT RetVT, const Value *LHS, const Value *RHS);
191 unsigned emitAdd(MVT RetVT, const Value *LHS, const Value *RHS,
[all …]
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp440 RTLIB::Libcall RTLIB::getFPEXT(EVT OpVT, EVT RetVT) { in getFPEXT() argument
442 if (RetVT == MVT::f32) in getFPEXT()
445 if (RetVT == MVT::f64) in getFPEXT()
447 if (RetVT == MVT::f128) in getFPEXT()
450 if (RetVT == MVT::f128) in getFPEXT()
459 RTLIB::Libcall RTLIB::getFPROUND(EVT OpVT, EVT RetVT) { in getFPROUND() argument
460 if (RetVT == MVT::f16) { in getFPROUND()
471 } else if (RetVT == MVT::f32) { in getFPROUND()
480 } else if (RetVT == MVT::f64) { in getFPROUND()
494 RTLIB::Libcall RTLIB::getFPTOSINT(EVT OpVT, EVT RetVT) { in getFPTOSINT() argument
[all …]
/external/llvm/include/llvm/CodeGen/
DRuntimeLibcalls.h399 Libcall getFPEXT(EVT OpVT, EVT RetVT);
403 Libcall getFPROUND(EVT OpVT, EVT RetVT);
407 Libcall getFPTOSINT(EVT OpVT, EVT RetVT);
411 Libcall getFPTOUINT(EVT OpVT, EVT RetVT);
415 Libcall getSINTTOFP(EVT OpVT, EVT RetVT);
419 Libcall getUINTTOFP(EVT OpVT, EVT RetVT);
DFastISel.h337 virtual unsigned fastEmit_(MVT VT, MVT RetVT, unsigned Opcode);
341 virtual unsigned fastEmit_r(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
346 virtual unsigned fastEmit_rr(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
352 virtual unsigned fastEmit_ri(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
358 virtual unsigned fastEmit_rf(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
364 virtual unsigned fastEmit_rri(MVT VT, MVT RetVT, unsigned Opcode,
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,
442 unsigned fastEmitInst_extractsubreg(MVT RetVT, unsigned Op0, bool Op0IsKill,
/external/llvm/utils/TableGen/
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 …]
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp187 bool finishCall(MVT RetVT, CallLoweringInfo &CLI, unsigned &NumBytes);
1381 bool PPCFastISel::finishCall(MVT RetVT, CallLoweringInfo &CLI, unsigned &NumBytes) { in finishCall() argument
1392 if (RetVT != MVT::isVoid) { in finishCall()
1395 CCInfo.AnalyzeCallResult(RetVT, RetCC_PPC64_ELF_FIS); in finishCall()
1405 if (RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32) in finishCall()
1411 if (RetVT == CopyVT) { in finishCall()
1421 ResultReg = createResultReg(TLI.getRegClassFor(RetVT)); in finishCall()
1429 } else if (RetVT == MVT::i8 || RetVT == MVT::i16 || RetVT == MVT::i32) { in finishCall()
1468 MVT RetVT; in fastLowerCall() local
1470 RetVT = MVT::isVoid; in fastLowerCall()
[all …]
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp206 bool FinishCall(MVT RetVT, SmallVectorImpl<unsigned> &UsedRegs,
2023 bool ARMFastISel::FinishCall(MVT RetVT, SmallVectorImpl<unsigned> &UsedRegs, in FinishCall() argument
2033 if (RetVT != MVT::isVoid) { in FinishCall()
2036 CCInfo.AnalyzeCallResult(RetVT, CCAssignFnForCall(CC, true, isVarArg)); in FinishCall()
2039 if (RVLocs.size() == 2 && RetVT == MVT::f64) { in FinishCall()
2060 if (RetVT == MVT::i1 || RetVT == MVT::i8 || RetVT == MVT::i16) in FinishCall()
2192 MVT RetVT; in ARMEmitLibcall() local
2194 RetVT = MVT::isVoid; in ARMEmitLibcall()
2195 else if (!isTypeLegal(RetTy, RetVT)) in ARMEmitLibcall()
2199 if (RetVT != MVT::isVoid && RetVT != MVT::i32) { in ARMEmitLibcall()
[all …]
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp140 unsigned emitLogicalOp(unsigned ISDOpc, MVT RetVT, const Value *LHS,
184 bool finishCall(CallLoweringInfo &CLI, MVT RetVT, unsigned NumBytes);
232 unsigned MipsFastISel::emitLogicalOp(unsigned ISDOpc, MVT RetVT, in emitLogicalOp() argument
1207 bool MipsFastISel::finishCall(CallLoweringInfo &CLI, MVT RetVT, in finishCall() argument
1211 if (RetVT != MVT::isVoid) { in finishCall()
1214 CCInfo.AnalyzeCallResult(RetVT, RetCC_Mips); in finishCall()
1222 if (RetVT == MVT::i1 || RetVT == MVT::i8 || RetVT == MVT::i16) in finishCall()
1262 MVT RetVT; in fastLowerCall() local
1264 RetVT = MVT::isVoid; in fastLowerCall()
1265 else if (!isTypeSupported(CLI.RetTy, RetVT)) in fastLowerCall()
[all …]
/external/llvm/lib/Target/X86/
DX86FastISel.cpp118 bool X86FastEmitCMoveSelect(MVT RetVT, const Instruction *I);
120 bool X86FastEmitSSESelect(MVT RetVT, const Instruction *I);
122 bool X86FastEmitPseudoSelect(MVT RetVT, const Instruction *I);
275 MVT RetVT; in foldX86XALUIntrinsic() local
279 if (!isTypeLegal(RetTy, RetVT)) in foldX86XALUIntrinsic()
282 if (RetVT != MVT::i32 && RetVT != MVT::i64) in foldX86XALUIntrinsic()
1763 bool X86FastISel::X86FastEmitCMoveSelect(MVT RetVT, const Instruction *I) { in X86FastEmitCMoveSelect() argument
1769 if (RetVT < MVT::i16 || RetVT > MVT::i64) in X86FastEmitCMoveSelect()
1773 const TargetRegisterClass *RC = TLI.getRegClassFor(RetVT); in X86FastEmitCMoveSelect()
1883 bool X86FastISel::X86FastEmitSSESelect(MVT RetVT, const Instruction *I) { in X86FastEmitSSESelect() argument
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp87 RTLIB::Libcall LC, EVT RetVT, in makeLibCall() argument
111 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in makeLibCall()
113 bool signExtend = shouldSignExtendTypeInLibCall(RetVT, isSigned); in makeLibCall()
210 EVT RetVT = getCmpLibcallReturnType(); in softenSetCCOperands() local
212 NewLHS = makeLibCall(DAG, LC1, RetVT, Ops, false /*sign irrelevant*/, in softenSetCCOperands()
214 NewRHS = DAG.getConstant(0, dl, RetVT); in softenSetCCOperands()
223 getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), RetVT), in softenSetCCOperands()
225 NewLHS = makeLibCall(DAG, LC2, RetVT, Ops, false/*sign irrelevant*/, in softenSetCCOperands()
229 getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), RetVT), in softenSetCCOperands()
DLegalizeDAG.cpp113 SDValue ExpandLibCall(RTLIB::Libcall LC, EVT RetVT, const SDValue *Ops,
2242 SDValue SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, EVT RetVT, in ExpandLibCall() argument
2259 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall()
2363 EVT RetVT = Node->getValueType(0); in ExpandDivRemLibCall() local
2364 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandDivRemLibCall()
2379 SDValue FIPtr = DAG.CreateStackTemporary(RetVT); in ExpandDivRemLibCall()
2398 SDValue Rem = DAG.getLoad(RetVT, dl, CallInfo.second, FIPtr, in ExpandDivRemLibCall()
2469 EVT RetVT = Node->getValueType(0); in ExpandSinCosLibCall() local
2470 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandSinCosLibCall()
2483 SDValue SinPtr = DAG.CreateStackTemporary(RetVT); in ExpandSinCosLibCall()
[all …]
DLegalizeVectorTypes.cpp3292 EVT RetVT = WidenEltVT; in FindMemType() local
3294 return RetVT; in FindMemType()
3311 RetVT = MemVT; in FindMemType()
3327 if (RetVT.getSizeInBits() < MemVTWidth || MemVT == WidenVT) in FindMemType()
3332 return RetVT; in FindMemType()
DFastISel.cpp1973 unsigned FastISel::fastEmitInst_extractsubreg(MVT RetVT, unsigned Op0, in fastEmitInst_extractsubreg() argument
1975 unsigned ResultReg = createResultReg(TLI.getRegClassFor(RetVT)); in fastEmitInst_extractsubreg()
DLegalizeFloatTypes.cpp1705 static ISD::NodeType GetPromotionOpcode(EVT OpVT, EVT RetVT) { in GetPromotionOpcode() argument
1708 } else if (RetVT == MVT::f16) { in GetPromotionOpcode()
/external/llvm/include/llvm/Target/
DTargetLowering.h2102 EVT RetVT, ArrayRef<SDValue> Ops,