| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonBitTracker.h | 61 struct ExtType { struct 64 ExtType() = default; 65 ExtType(char t, uint16_t w) : Type(t), Width(w) {} in ExtType() function 71 using RegExtMap = DenseMap<unsigned, ExtType>;
|
| H A D | HexagonBitTracker.cpp | 83 VRX.insert(std::make_pair(InVirtReg, ExtType(ExtType::SExt, Width))); in HexagonEvaluator() 85 VRX.insert(std::make_pair(InVirtReg, ExtType(ExtType::ZExt, Width))); in HexagonEvaluator() 1236 if (F->second.Type == ExtType::SExt) in evaluateFormalCopy() 1238 else if (F->second.Type == ExtType::ZExt) in evaluateFormalCopy()
|
| H A D | HexagonISelDAGToDAG.cpp | 76 ISD::LoadExtType ExtType = LD->getExtensionType(); in SelectIndexedLoad() local 77 bool IsZeroExt = (ExtType == ISD::ZEXTLOAD || ExtType == ISD::EXTLOAD); in SelectIndexedLoad() 131 auto getExt64 = [this,ExtType] (MachineSDNode *N, const SDLoc &dl) in SelectIndexedLoad() 133 if (ExtType == ISD::ZEXTLOAD || ExtType == ISD::EXTLOAD) { in SelectIndexedLoad() 138 if (ExtType == ISD::SEXTLOAD) in SelectIndexedLoad() 149 if (ValueVT == MVT::i64 && ExtType != ISD::NON_EXTLOAD) { in SelectIndexedLoad()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenCLRuntime.cpp | 64 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in convertOpenCLSpecificType() argument 67 llvm::StructType::create(Ctx, "opencl." #ExtType), AddrSpc); in convertOpenCLSpecificType()
|
| H A D | CGDebugInfo.h | 81 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ argument
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 1199 getExtLoad(ISD::LoadExtType ExtType, const SDLoc &dl, EVT VT, SDValue Chain, 1206 getExtLoad(ISD::LoadExtType ExtType, const SDLoc &dl, EVT VT, SDValue Chain, 1211 return getExtLoad(ExtType, dl, VT, Chain, Ptr, PtrInfo, MemVT, 1214 SDValue getExtLoad(ISD::LoadExtType ExtType, const SDLoc &dl, EVT VT, 1219 SDValue getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT, 1226 ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT, const SDLoc &dl, 1232 return getLoad(AM, ExtType, VT, dl, Chain, Ptr, Offset, PtrInfo, MemVT, 1238 getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT, 1244 return getLoad(AM, ExtType, VT, dl, Chain, Ptr, Offset, PtrInfo, MemVT, 1247 SDValue getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT,
|
| H A D | TargetLowering.h | 1225 LegalizeAction getLoadExtAction(unsigned ExtType, EVT ValVT, in getLoadExtAction() argument 1230 assert(ExtType < ISD::LAST_LOADEXT_TYPE && ValI < MVT::VALUETYPE_SIZE && in getLoadExtAction() 1232 unsigned Shift = 4 * ExtType; in getLoadExtAction() 1237 bool isLoadExtLegal(unsigned ExtType, EVT ValVT, EVT MemVT) const { in isLoadExtLegal() argument 1238 return getLoadExtAction(ExtType, ValVT, MemVT) == Legal; in isLoadExtLegal() 1243 bool isLoadExtLegalOrCustom(unsigned ExtType, EVT ValVT, EVT MemVT) const { in isLoadExtLegalOrCustom() argument 1244 return getLoadExtAction(ExtType, ValVT, MemVT) == Legal || in isLoadExtLegalOrCustom() 1245 getLoadExtAction(ExtType, ValVT, MemVT) == Custom; in isLoadExtLegalOrCustom() 2193 void setLoadExtAction(unsigned ExtType, MVT ValVT, MVT MemVT, in setLoadExtAction() argument 2195 assert(ExtType < ISD::LAST_LOADEXT_TYPE && ValVT.isValid() && in setLoadExtAction() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kInstrInfo.td | 491 ISD::LoadExtType ExtType = LD->getExtensionType(); 492 if (ExtType == ISD::NON_EXTLOAD) 494 if (ExtType == ISD::EXTLOAD) 501 ISD::LoadExtType ExtType = LD->getExtensionType(); 502 if (ExtType == ISD::NON_EXTLOAD) 504 if (ExtType == ISD::EXTLOAD)
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64InstPrinter.cpp | 1080 AArch64_AM::ShiftExtendType ExtType = AArch64_AM::getArithExtendType(Val); in printArithExtend() local 1086 if (ExtType == AArch64_AM::UXTW || ExtType == AArch64_AM::UXTX) { in printArithExtend() 1090 ExtType == AArch64_AM::UXTX) || in printArithExtend() 1092 ExtType == AArch64_AM::UXTW) ) { in printArithExtend() 1098 O << ", " << AArch64_AM::getShiftExtendName(ExtType); in printArithExtend()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeVectorTypes.cpp | 1692 ISD::LoadExtType ExtType = LD->getExtensionType(); in SplitVecRes_LOAD() local 1745 ISD::LoadExtType ExtType = MLD->getExtensionType(); in SplitVecRes_MLOAD() local 1830 ISD::LoadExtType ExtType = MGT->getExtensionType(); in SplitVecRes_MGATHER() local 1866 MMO, MGT->getIndexType(), ExtType); in SplitVecRes_MGATHER() 1870 MMO, MGT->getIndexType(), ExtType); in SplitVecRes_MGATHER() 2522 ISD::LoadExtType ExtType = MGT->getExtensionType(); in SplitVecOp_MGATHER() local 4017 ISD::LoadExtType ExtType = LD->getExtensionType(); in WidenVecRes_LOAD() local 4035 if (ExtType != ISD::NON_EXTLOAD) in WidenVecRes_LOAD() 4036 Result = GenWidenVectorExtLoads(LdChain, LD, ExtType); in WidenVecRes_LOAD() 4062 ISD::LoadExtType ExtType = N->getExtensionType(); in WidenVecRes_MLOAD() local [all …]
|
| H A D | LegalizeDAG.cpp | 673 ISD::LoadExtType ExtType = LD->getExtensionType(); in LegalizeLoadOps() local 674 if (ExtType == ISD::NON_EXTLOAD) { in LegalizeLoadOps() 739 TLI.getLoadExtAction(ExtType, Node->getValueType(0), MVT::i1) == in LegalizeLoadOps() 751 ExtType == ISD::ZEXTLOAD ? ISD::ZEXTLOAD : ISD::EXTLOAD; in LegalizeLoadOps() 759 if (ExtType == ISD::SEXTLOAD) in LegalizeLoadOps() 764 else if (ExtType == ISD::ZEXTLOAD || NVT == Result.getValueType()) in LegalizeLoadOps() 850 switch (TLI.getLoadExtAction(ExtType, Node->getValueType(0), in LegalizeLoadOps() 884 TLI.isLoadExtLegal(ExtType, LoadVT, SrcVT)) { in LegalizeLoadOps() 888 (LoadVT == SrcVT) ? ISD::NON_EXTLOAD : ExtType; in LegalizeLoadOps() 923 assert(ExtType != ISD::EXTLOAD && in LegalizeLoadOps() [all …]
|
| H A D | LegalizeIntegerTypes.cpp | 689 ISD::LoadExtType ExtType = in PromoteIntRes_LOAD() local 722 ISD::LoadExtType ExtType = N->getExtensionType(); in PromoteIntRes_MGATHER() local 723 if (ExtType == ISD::NON_EXTLOAD) in PromoteIntRes_MGATHER() 724 ExtType = ISD::EXTLOAD; in PromoteIntRes_MGATHER() 732 ExtType); in PromoteIntRes_MGATHER() 3220 ISD::LoadExtType ExtType = N->getExtensionType(); in ExpandIntRes_LOAD() local 3236 if (ExtType == ISD::SEXTLOAD) { in ExpandIntRes_LOAD() 3243 } else if (ExtType == ISD::ZEXTLOAD) { in ExpandIntRes_LOAD() 3247 assert(ExtType == ISD::EXTLOAD && "Unknown extload!"); in ExpandIntRes_LOAD() 3263 Hi = DAG.getExtLoad(ExtType, dl, NVT, Ch, Ptr, in ExpandIntRes_LOAD() [all …]
|
| H A D | SelectionDAG.cpp | 439 ISD::NodeType ISD::getExtForLoadExtType(bool IsFP, ISD::LoadExtType ExtType) { in getExtForLoadExtType() argument 440 switch (ExtType) { in getExtForLoadExtType() 4177 unsigned ExtType = LD->getExtensionType(); in ComputeNumSignBits() local 4178 switch (ExtType) { in ComputeNumSignBits() 7374 return getLoad(AM, ExtType, VT, dl, Chain, Ptr, Offset, MemVT, MMO); in getLoad() 7382 ExtType = ISD::NON_EXTLOAD; in getLoad() 7383 } else if (ExtType == ISD::NON_EXTLOAD) { in getLoad() 7408 dl.getIROrder(), VTs, AM, ExtType, MemVT, MMO)); in getLoad() 7416 ExtType, MemVT, MMO); in getLoad() 7443 SDValue SelectionDAG::getExtLoad(ISD::LoadExtType ExtType, const SDLoc &dl, in getExtLoad() argument [all …]
|
| H A D | DAGCombiner.cpp | 797 ISD::NodeType ExtType); 1218 return DAG.getExtLoad(ExtType, DL, PVT, in PromoteOperand() 1454 SDValue NewLD = DAG.getExtLoad(ExtType, DL, PVT, in PromoteLoad() 10601 ISD::LoadExtType ExtType = in CombineExtLoad() local 11636 ISD::LoadExtType ExtType = LN0->getExtensionType(); in visitANY_EXTEND() local 11802 ISD::LoadExtType ExtType = ISD::NON_EXTLOAD; in ReduceLoadWidth() local 11816 ExtType = ISD::SEXTLOAD; in ReduceLoadWidth() 11822 ExtType = ISD::ZEXTLOAD; in ReduceLoadWidth() 11855 ExtType = ISD::ZEXTLOAD; in ReduceLoadWidth() 11925 !isLegalNarrowLdSt(LN0, ExtType, ExtVT, ShAmt)) in ReduceLoadWidth() [all …]
|
| H A D | LegalizeVectorOps.cpp | 259 ISD::LoadExtType ExtType = LD->getExtensionType(); in LegalizeOp() local 260 if (LD->getMemoryVT().isVector() && ExtType != ISD::NON_EXTLOAD) { in LegalizeOp()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTCommon.cpp | 215 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in TypeIdxFromBuiltin() argument
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.h | 179 ISD::LoadExtType ExtType,
|
| H A D | R600ISelLowering.cpp | 1299 ISD::LoadExtType ExtType = Load->getExtensionType(); in lowerPrivateExtLoad() local 1336 if (ExtType == ISD::SEXTLOAD) { // ... ones. in lowerPrivateExtLoad() 1355 ISD::LoadExtType ExtType = LoadNode->getExtensionType(); in LowerLOAD() local 1358 ExtType != ISD::NON_EXTLOAD && MemVT.bitsLT(MVT::i32)) { in LowerLOAD()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 254 enum ExtType { enum 264 using TypeIsSExt = PointerIntPair<Type *, 2, ExtType>; 4028 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in addPromotedInst() 4051 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in getOrigType() 7018 Instruction::CastOps ExtType = Instruction::ZExt; in optimizeSwitchInst() local 7021 ExtType = Instruction::SExt; in optimizeSwitchInst() 7025 ExtType = Instruction::SExt; in optimizeSwitchInst() 7027 ExtType = Instruction::ZExt; in optimizeSwitchInst() 7030 auto *ExtInst = CastInst::Create(ExtType, Cond, NewType); in optimizeSwitchInst() 7036 APInt WideConst = (ExtType == Instruction::ZExt) ? in optimizeSwitchInst()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | ASTBitCodes.h | 1072 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) PREDEF_TYPE_##Id##_ID, argument
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | TypeLoc.cpp | 395 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in getWrittenTypeSpec() argument
|
| H A D | NSAPI.cpp | 466 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in getNSNumberFactoryMethodKind() argument
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstrInfo.td | 1168 ISD::LoadExtType ExtType = LD->getExtensionType(); 1169 return ExtType == ISD::NON_EXTLOAD || ExtType == ISD::EXTLOAD || 1170 ExtType == ISD::ZEXTLOAD; 1177 ISD::LoadExtType ExtType = LD->getExtensionType(); 1178 if (ExtType == ISD::NON_EXTLOAD) 1180 if (ExtType == ISD::EXTLOAD && EnablePromoteAnyextLoad) 1187 ISD::LoadExtType ExtType = LD->getExtensionType(); 1188 if (ExtType == ISD::NON_EXTLOAD) 1190 if (ExtType == ISD::EXTLOAD && EnablePromoteAnyextLoad) 1242 ISD::LoadExtType ExtType = LD->getExtensionType(); [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Type.h | 2117 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ 2494 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) Id, 6897 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ 6904 #define INTEL_SUBGROUP_AVC_TYPE(ExtType, Id) \ 6912 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) is##Id##Type() ||
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FastISel.cpp | 89 AArch64_AM::ShiftExtendType ExtType = AArch64_AM::InvalidShiftExtend; member in __anon37a1e6760111::AArch64FastISel::Address 104 void setExtendType(AArch64_AM::ShiftExtendType E) { ExtType = E; } in setExtendType() 105 AArch64_AM::ShiftExtendType getExtendType() const { return ExtType; } in getExtendType() 215 unsigned RHSReg, AArch64_AM::ShiftExtendType ExtType, 1406 AArch64_AM::ShiftExtendType ExtType, in emitAddSub_rx() argument 1444 .addImm(getArithExtendImm(ExtType, ShiftImm)); in emitAddSub_rx()
|