Home
last modified time | relevance | path

Searched refs:ExtType (Results 1 – 25 of 49) sorted by relevance

12

/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.h62 struct ExtType { struct
65 ExtType() = default;
66 ExtType(char t, uint16_t w) : Type(t), Width(w) {} in ExtType() argument
72 using RegExtMap = DenseMap<unsigned, ExtType>;
H A DHexagonBitTracker.cpp84 VRX.insert(std::make_pair(InVirtReg, ExtType(ExtType::SExt, Width))); in HexagonEvaluator()
86 VRX.insert(std::make_pair(InVirtReg, ExtType(ExtType::ZExt, Width))); in HexagonEvaluator()
1239 if (F->second.Type == ExtType::SExt) in evaluateFormalCopy()
1241 else if (F->second.Type == ExtType::ZExt) in evaluateFormalCopy()
H A DHexagonISelDAGToDAG.cpp77 ISD::LoadExtType ExtType = LD->getExtensionType(); in SelectIndexedLoad() local
78 bool IsZeroExt = (ExtType == ISD::ZEXTLOAD || ExtType == ISD::EXTLOAD); in SelectIndexedLoad()
132 auto getExt64 = [this,ExtType] (MachineSDNode *N, const SDLoc &dl) in SelectIndexedLoad()
134 if (ExtType == ISD::ZEXTLOAD || ExtType == ISD::EXTLOAD) { in SelectIndexedLoad()
139 if (ExtType == ISD::SEXTLOAD) in SelectIndexedLoad()
150 if (ValueVT == MVT::i64 && ExtType != ISD::NON_EXTLOAD) { in SelectIndexedLoad()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp65 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in convertOpenCLSpecificType() argument
68 llvm::StructType::create(Ctx, "opencl." #ExtType), AddrSpc); in convertOpenCLSpecificType()
H A DCGDebugInfo.h79 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ argument
H A DCodeGenTypes.cpp506 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in ConvertType() argument
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DTargetLowering.h998 LegalizeAction getLoadExtAction(unsigned ExtType, EVT ValVT, in getLoadExtAction() argument
1003 assert(ExtType < ISD::LAST_LOADEXT_TYPE && ValI < MVT::LAST_VALUETYPE && in getLoadExtAction()
1005 unsigned Shift = 4 * ExtType; in getLoadExtAction()
1010 bool isLoadExtLegal(unsigned ExtType, EVT ValVT, EVT MemVT) const { in isLoadExtLegal() argument
1011 return getLoadExtAction(ExtType, ValVT, MemVT) == Legal; in isLoadExtLegal()
1016 bool isLoadExtLegalOrCustom(unsigned ExtType, EVT ValVT, EVT MemVT) const { in isLoadExtLegalOrCustom() argument
1017 return getLoadExtAction(ExtType, ValVT, MemVT) == Legal || in isLoadExtLegalOrCustom()
1018 getLoadExtAction(ExtType, ValVT, MemVT) == Custom; in isLoadExtLegalOrCustom()
1907 void setLoadExtAction(unsigned ExtType, MVT ValVT, MVT MemVT, in setLoadExtAction() argument
1909 assert(ExtType < ISD::LAST_LOADEXT_TYPE && ValVT.isValid() && in setLoadExtAction()
[all …]
H A DSelectionDAG.h1046 getExtLoad(ISD::LoadExtType ExtType, const SDLoc &dl, EVT VT, SDValue Chain,
1051 SDValue getExtLoad(ISD::LoadExtType ExtType, const SDLoc &dl, EVT VT,
1056 SDValue getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT,
1062 SDValue getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT,
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/InstPrinter/
H A DAArch64InstPrinter.cpp981 AArch64_AM::ShiftExtendType ExtType = AArch64_AM::getArithExtendType(Val); in printArithExtend() local
987 if (ExtType == AArch64_AM::UXTW || ExtType == AArch64_AM::UXTX) { in printArithExtend()
991 ExtType == AArch64_AM::UXTX) || in printArithExtend()
993 ExtType == AArch64_AM::UXTW) ) { in printArithExtend()
999 O << ", " << AArch64_AM::getShiftExtendName(ExtType); in printArithExtend()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorOps.cpp243 ISD::LoadExtType ExtType = LD->getExtensionType(); in LegalizeOp() local
244 if (LD->getMemoryVT().isVector() && ExtType != ISD::NON_EXTLOAD) { in LegalizeOp()
602 ISD::LoadExtType ExtType = LD->getExtensionType(); in ExpandLoad() local
687 switch (ExtType) { in ExpandLoad()
H A DLegalizeVectorTypes.cpp1303 ISD::LoadExtType ExtType = LD->getExtensionType(); in SplitVecRes_LOAD() local
1345 ISD::LoadExtType ExtType = MLD->getExtensionType(); in SplitVecRes_MLOAD() local
1376 ExtType, MLD->isExpandingLoad()); in SplitVecRes_MLOAD()
1388 ExtType, MLD->isExpandingLoad()); in SplitVecRes_MLOAD()
3264 ISD::LoadExtType ExtType = LD->getExtensionType(); in WidenVecRes_LOAD() local
3268 if (ExtType != ISD::NON_EXTLOAD) in WidenVecRes_LOAD()
3269 Result = GenWidenVectorExtLoads(LdChain, LD, ExtType); in WidenVecRes_LOAD()
3295 ISD::LoadExtType ExtType = N->getExtensionType(); in WidenVecRes_MLOAD() local
3306 N->getMemOperand(), ExtType, in WidenVecRes_MLOAD()
4316 ISD::LoadExtType ExtType) { in GenWidenVectorExtLoads() argument
[all …]
H A DLegalizeDAG.cpp655 ISD::LoadExtType ExtType = LD->getExtensionType(); in LegalizeLoadOps() local
656 if (ExtType == ISD::NON_EXTLOAD) { in LegalizeLoadOps()
723 TLI.getLoadExtAction(ExtType, Node->getValueType(0), MVT::i1) == in LegalizeLoadOps()
735 ExtType == ISD::ZEXTLOAD ? ISD::ZEXTLOAD : ISD::EXTLOAD; in LegalizeLoadOps()
743 if (ExtType == ISD::SEXTLOAD) in LegalizeLoadOps()
748 else if (ExtType == ISD::ZEXTLOAD || NVT == Result.getValueType()) in LegalizeLoadOps()
837 switch (TLI.getLoadExtAction(ExtType, Node->getValueType(0), in LegalizeLoadOps()
872 TLI.isLoadExtLegal(ExtType, LoadVT, SrcVT)) { in LegalizeLoadOps()
876 (LoadVT == SrcVT) ? ISD::NON_EXTLOAD : ExtType; in LegalizeLoadOps()
912 assert(ExtType != ISD::EXTLOAD && in LegalizeLoadOps()
[all …]
H A DLegalizeIntegerTypes.cpp539 ISD::LoadExtType ExtType = in PromoteIntRes_LOAD() local
542 SDValue Res = DAG.getExtLoad(ExtType, dl, NVT, N->getChain(), N->getBasePtr(), in PromoteIntRes_LOAD()
2377 ISD::LoadExtType ExtType = N->getExtensionType(); in ExpandIntRes_LOAD() local
2388 Lo = DAG.getExtLoad(ExtType, dl, NVT, Ch, Ptr, N->getPointerInfo(), MemVT, in ExpandIntRes_LOAD()
2394 if (ExtType == ISD::SEXTLOAD) { in ExpandIntRes_LOAD()
2401 } else if (ExtType == ISD::ZEXTLOAD) { in ExpandIntRes_LOAD()
2405 assert(ExtType == ISD::EXTLOAD && "Unknown extload!"); in ExpandIntRes_LOAD()
2422 Hi = DAG.getExtLoad(ExtType, dl, NVT, Ch, Ptr, in ExpandIntRes_LOAD()
2439 Hi = DAG.getExtLoad(ExtType, dl, NVT, Ch, Ptr, N->getPointerInfo(), in ExpandIntRes_LOAD()
2466 Hi = DAG.getNode(ExtType == ISD::SEXTLOAD ? ISD::SRA : ISD::SRL, dl, NVT, in ExpandIntRes_LOAD()
H A DSelectionDAG.cpp335 ISD::NodeType ISD::getExtForLoadExtType(bool IsFP, ISD::LoadExtType ExtType) { in getExtForLoadExtType() argument
336 switch (ExtType) { in getExtForLoadExtType()
3753 unsigned ExtType = LD->getExtensionType(); in ComputeNumSignBits() local
3754 switch (ExtType) { in ComputeNumSignBits()
6621 return getLoad(AM, ExtType, VT, dl, Chain, Ptr, Offset, MemVT, MMO); in getLoad()
6629 ExtType = ISD::NON_EXTLOAD; in getLoad()
6630 } else if (ExtType == ISD::NON_EXTLOAD) { in getLoad()
6655 dl.getIROrder(), VTs, AM, ExtType, MemVT, MMO)); in getLoad()
6663 ExtType, MemVT, MMO); in getLoad()
6690 SDValue SelectionDAG::getExtLoad(ISD::LoadExtType ExtType, const SDLoc &dl, in getExtLoad() argument
[all …]
H A DDAGCombiner.cpp628 ISD::NodeType ExtType);
1095 return DAG.getExtLoad(ExtType, DL, PVT, in PromoteOperand()
1329 SDValue NewLD = DAG.getExtLoad(ExtType, DL, PVT, in PromoteLoad()
8329 ISD::LoadExtType ExtType = in CombineExtLoad() local
9180 ISD::LoadExtType ExtType = LN0->getExtensionType(); in visitANY_EXTEND() local
9300 ISD::LoadExtType ExtType = ISD::NON_EXTLOAD; in ReduceLoadWidth() local
9314 ExtType = ISD::SEXTLOAD; in ReduceLoadWidth()
9320 ExtType = ISD::ZEXTLOAD; in ReduceLoadWidth()
9353 ExtType = ISD::ZEXTLOAD; in ReduceLoadWidth()
9422 if (!isLegalNarrowLdSt(LN0, ExtType, ExtVT, ShAmt)) in ReduceLoadWidth()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTCommon.cpp216 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in TypeIdxFromBuiltin() argument
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DTypeLoc.cpp387 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in getWrittenTypeSpec() argument
H A DNSAPI.cpp478 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in getNSNumberFactoryMethodKind() argument
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.h168 ISD::LoadExtType ExtType,
H A DR600ISelLowering.cpp1385 ISD::LoadExtType ExtType = Load->getExtensionType(); in lowerPrivateExtLoad() local
1423 if (ExtType == ISD::SEXTLOAD) { // ... ones. in lowerPrivateExtLoad()
1442 ISD::LoadExtType ExtType = LoadNode->getExtensionType(); in LowerLOAD() local
1445 ExtType != ISD::NON_EXTLOAD && MemVT.bitsLT(MVT::i32)) { in LowerLOAD()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Serialization/
H A DASTBitCodes.h1019 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ argument
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp226 enum ExtType { enum
236 using TypeIsSExt = PointerIntPair<Type *, 2, ExtType>;
3431 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in addPromotedInst()
3454 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in getOrigType()
5986 Instruction::CastOps ExtType = Instruction::ZExt; in optimizeSwitchInst() local
5989 ExtType = Instruction::SExt; in optimizeSwitchInst()
5991 auto *ExtInst = CastInst::Create(ExtType, Cond, NewType); in optimizeSwitchInst()
5997 APInt WideConst = (ExtType == Instruction::ZExt) ? in optimizeSwitchInst()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp3152 ExtType = ISD::SEXTLOAD; in LowerFormalArguments()
3155 ExtType = ISD::ZEXTLOAD; in LowerFormalArguments()
3158 ExtType = ISD::EXTLOAD; in LowerFormalArguments()
3163 ExtType, DL, VA.getLocVT(), Chain, FIN, in LowerFormalArguments()
9797 unsigned ExtType = LHS.getOpcode(); in performAddSubLongCombine() local
10613 ExtType = ISD::NON_EXTLOAD; in checkValueWidth()
10621 ExtType = LoadNode->getExtensionType(); in checkValueWidth()
10630 ExtType = ISD::SEXTLOAD; in checkValueWidth()
10639 ExtType = ISD::ZEXTLOAD; in checkValueWidth()
10728 if (ExtType == ISD::SEXTLOAD) in isEquivalentMaskless()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp1037 ISD::LoadExtType ExtType; in unpackFromMemLoc() local
1043 ExtType = ISD::NON_EXTLOAD; in unpackFromMemLoc()
1047 ExtType, DL, LocVT, Chain, FIN, in unpackFromMemLoc()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86InstrInfo.td1055 ISD::LoadExtType ExtType = LD->getExtensionType();
1056 return ExtType == ISD::NON_EXTLOAD || ExtType == ISD::EXTLOAD ||
1057 ExtType == ISD::ZEXTLOAD;
1064 ISD::LoadExtType ExtType = LD->getExtensionType();
1065 if (ExtType == ISD::NON_EXTLOAD)
1067 if (ExtType == ISD::EXTLOAD)
1074 ISD::LoadExtType ExtType = LD->getExtensionType();
1075 if (ExtType == ISD::NON_EXTLOAD)
1077 if (ExtType == ISD::EXTLOAD)

12