Home
last modified time | relevance | path

Searched refs:ExtendKind (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp1076 enum class ExtendKind { Zero, Sign, Unknown }; enum in __anonb324fb7f0311::WidenIV
1082 DenseMap<AssertingVH<Instruction>, ExtendKind> ExtendKindMap;
1151 ExtendKind getExtendKind(Instruction *I);
1153 using WidenedRecTy = std::pair<const SCEVAddRecExpr *, ExtendKind>;
1235 ExtendKindMap[OrigPhi] = WI.IsSigned ? ExtendKind::Sign : ExtendKind::Zero; in WidenIV()
1288 bool IsSigned = getExtendKind(NarrowDef) == ExtendKind::Sign; in cloneBitwiseIVUser()
1353 bool SignExtend = getExtendKind(NarrowDef) == ExtendKind::Sign; in cloneArithmeticIVUser()
1379 WidenIV::ExtendKind WidenIV::getExtendKind(Instruction *I) { in getExtendKind()
1481 return {nullptr, ExtendKind::Unknown}; in getExtendedOperandRecurrence()
1492 ExtendKind ExtKind = getExtendKind(DU.NarrowDef); in getExtendedOperandRecurrence()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp65 ISD::NodeType ExtendKind = ISD::ANY_EXTEND; in getPreferredExtendForValue() local
81 ExtendKind = ISD::SIGN_EXTEND; in getPreferredExtendForValue()
83 return ExtendKind; in getPreferredExtendForValue()
H A DSelectionDAGBuilder.cpp510 ISD::NodeType ExtendKind = ISD::ANY_EXTEND) { in getCopyToParts() argument
555 Val = DAG.getNode(ExtendKind, DL, ValueVT, Val); in getCopyToParts()
969 ISD::NodeType ExtendKind = PreferredExtendType; in getCopyToRegs() local
982 if (ExtendKind == ISD::ANY_EXTEND && TLI.isZExtFree(Val, RegisterVT)) in getCopyToRegs()
983 ExtendKind = ISD::ZERO_EXTEND; in getCopyToRegs()
986 NumParts, RegisterVT, V, CallConv, ExtendKind); in getCopyToRegs()
2244 ISD::NodeType ExtendKind = ISD::ANY_EXTEND; in visitRet() local
2246 ExtendKind = ISD::SIGN_EXTEND; in visitRet()
2248 ExtendKind = ISD::ZERO_EXTEND; in visitRet()
2256 if (ExtendKind != ISD::ANY_EXTEND && VT.isInteger()) in visitRet()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1649 ISD::NodeType ExtendKind = ISD::ANY_EXTEND; in GetReturnInfo() local
1652 ExtendKind = ISD::SIGN_EXTEND; in GetReturnInfo()
1654 ExtendKind = ISD::ZERO_EXTEND; in GetReturnInfo()
1656 if (ExtendKind != ISD::ANY_EXTEND && VT.isInteger()) in GetReturnInfo()
1657 VT = TLI.getTypeForExtReturn(ReturnType->getContext(), VT, ExtendKind); in GetReturnInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.h210 ISD::NodeType ExtendKind) const override;
H A DAMDGPUISelLowering.cpp783 ISD::NodeType ExtendKind) const { in getTypeForExtReturn()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1734 ISD::NodeType ExtendKind) const override;
H A DX86ISelLoweringCall.cpp980 ISD::NodeType ExtendKind) const { in getTypeForExtReturn()