| /openbsd-src/gnu/llvm/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() argument 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() 1241 if (F->second.Type == ExtType::SExt) in evaluateFormalCopy() 1243 else if (F->second.Type == ExtType::ZExt) in evaluateFormalCopy()
|
| H A D | HexagonISelDAGToDAG.cpp | 81 ISD::LoadExtType ExtType = LD->getExtensionType(); in INITIALIZE_PASS() local 82 bool IsZeroExt = (ExtType == ISD::ZEXTLOAD || ExtType == ISD::EXTLOAD); in INITIALIZE_PASS() 136 auto getExt64 = [this,ExtType] (MachineSDNode *N, const SDLoc &dl) in INITIALIZE_PASS() 138 if (ExtType == ISD::ZEXTLOAD || ExtType == ISD::EXTLOAD) { in INITIALIZE_PASS() 143 if (ExtType == ISD::SEXTLOAD) in INITIALIZE_PASS() 154 if (ValueVT == MVT::i64 && ExtType != ISD::NON_EXTLOAD) { in INITIALIZE_PASS()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 1321 getExtLoad(ISD::LoadExtType ExtType, const SDLoc &dl, EVT VT, SDValue Chain, 1326 SDValue getExtLoad(ISD::LoadExtType ExtType, const SDLoc &dl, EVT VT, 1331 SDValue getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT, 1338 ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT, const SDLoc &dl, 1344 return getLoad(AM, ExtType, VT, dl, Chain, Ptr, Offset, PtrInfo, MemVT, 1352 getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT, 1358 return getLoad(AM, ExtType, VT, dl, Chain, Ptr, Offset, PtrInfo, MemVT, 1361 SDValue getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT, 1426 SDValue getLoadVP(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT, 1433 getLoadVP(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT, [all …]
|
| H A D | TargetLowering.h | 1297 LegalizeAction getLoadExtAction(unsigned ExtType, EVT ValVT, in getLoadExtAction() argument 1302 assert(ExtType < ISD::LAST_LOADEXT_TYPE && ValI < MVT::VALUETYPE_SIZE && in getLoadExtAction() 1304 unsigned Shift = 4 * ExtType; in getLoadExtAction() 1309 bool isLoadExtLegal(unsigned ExtType, EVT ValVT, EVT MemVT) const { in isLoadExtLegal() argument 1310 return getLoadExtAction(ExtType, ValVT, MemVT) == Legal; in isLoadExtLegal() 1315 bool isLoadExtLegalOrCustom(unsigned ExtType, EVT ValVT, EVT MemVT) const { in isLoadExtLegalOrCustom() argument 1316 return getLoadExtAction(ExtType, ValVT, MemVT) == Legal || in isLoadExtLegalOrCustom() 1317 getLoadExtAction(ExtType, ValVT, MemVT) == Custom; in isLoadExtLegalOrCustom() 2387 void setLoadExtAction(unsigned ExtType, MVT ValVT, MVT MemVT, in setLoadExtAction() argument 2389 assert(ExtType < ISD::LAST_LOADEXT_TYPE && ValVT.isValid() && in setLoadExtAction() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGOpenCLRuntime.cpp | 55 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in convertOpenCLSpecificType() argument 57 return getPointerType(T, "opencl." #ExtType); in convertOpenCLSpecificType()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/M68k/ |
| H A D | M68kInstrInfo.td | 521 ISD::LoadExtType ExtType = LD->getExtensionType(); 522 if (ExtType == ISD::NON_EXTLOAD) 524 if (ExtType == ISD::EXTLOAD) 531 ISD::LoadExtType ExtType = LD->getExtensionType(); 532 if (ExtType == ISD::NON_EXTLOAD) 534 if (ExtType == ISD::EXTLOAD)
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64InstPrinter.cpp | 1256 AArch64_AM::ShiftExtendType ExtType = AArch64_AM::getArithExtendType(Val); in printArithExtend() local 1262 if (ExtType == AArch64_AM::UXTW || ExtType == AArch64_AM::UXTX) { in printArithExtend() 1266 ExtType == AArch64_AM::UXTX) || in printArithExtend() 1268 ExtType == AArch64_AM::UXTW) ) { in printArithExtend() 1274 O << ", " << AArch64_AM::getShiftExtendName(ExtType); in printArithExtend()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeVectorTypes.cpp | 1832 ISD::LoadExtType ExtType = LD->getExtensionType(); in SplitVecRes_LOAD() local 1851 Lo = DAG.getLoad(ISD::UNINDEXED, ExtType, LoVT, dl, Ch, Ptr, Offset, in SplitVecRes_LOAD() 1858 Hi = DAG.getLoad(ISD::UNINDEXED, ExtType, HiVT, dl, Ch, Ptr, Offset, MPI, in SplitVecRes_LOAD() 1878 ISD::LoadExtType ExtType = LD->getExtensionType(); in SplitVecRes_VP_LOAD() local 1913 DAG.getLoadVP(LD->getAddressingMode(), ExtType, LoVT, dl, Ch, Ptr, Offset, in SplitVecRes_VP_LOAD() 1936 Hi = DAG.getLoadVP(LD->getAddressingMode(), ExtType, HiVT, dl, Ch, Ptr, in SplitVecRes_VP_LOAD() 2046 ISD::LoadExtType ExtType = MLD->getExtensionType(); in SplitVecRes_MLOAD() local 2077 MMO, MLD->getAddressingMode(), ExtType, in SplitVecRes_MLOAD() 2101 HiMemVT, MMO, MLD->getAddressingMode(), ExtType, in SplitVecRes_MLOAD() 2171 ISD::LoadExtType ExtType = MGT->getExtensionType(); in SplitVecRes_Gather() local [all …]
|
| H A D | SelectionDAG.cpp | 519 ISD::NodeType ISD::getExtForLoadExtType(bool IsFP, ISD::LoadExtType ExtType) { in getExtForLoadExtType() argument 520 switch (ExtType) { in getExtForLoadExtType() 4552 unsigned ExtType = LD->getExtensionType(); in ComputeNumSignBits() local 4553 switch (ExtType) { in ComputeNumSignBits() 8001 SDValue SelectionDAG::getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, in getLoad() argument 8022 return getLoad(AM, ExtType, VT, dl, Chain, Ptr, Offset, MemVT, MMO); in getLoad() 8025 SDValue SelectionDAG::getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, in getLoad() argument 8030 ExtType = ISD::NON_EXTLOAD; in getLoad() 8031 } else if (ExtType == ISD::NON_EXTLOAD) { in getLoad() 8056 dl.getIROrder(), VTs, AM, ExtType, MemVT, MMO)); in getLoad() [all …]
|
| H A D | LegalizeIntegerTypes.cpp | 776 ISD::LoadExtType ExtType = in PromoteIntRes_LOAD() local 779 SDValue Res = DAG.getExtLoad(ExtType, dl, NVT, N->getChain(), N->getBasePtr(), in PromoteIntRes_LOAD() 792 ISD::LoadExtType ExtType = N->getExtensionType(); in PromoteIntRes_MLOAD() local 793 if (ExtType == ISD::NON_EXTLOAD) in PromoteIntRes_MLOAD() 794 ExtType = ISD::EXTLOAD; in PromoteIntRes_MLOAD() 800 N->getAddressingMode(), ExtType, in PromoteIntRes_MLOAD() 814 ISD::LoadExtType ExtType = N->getExtensionType(); in PromoteIntRes_MGATHER() local 815 if (ExtType == ISD::NON_EXTLOAD) in PromoteIntRes_MGATHER() 816 ExtType = ISD::EXTLOAD; in PromoteIntRes_MGATHER() 824 ExtType); in PromoteIntRes_MGATHER() [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() 800 Hi = DAG.getExtLoad(ExtType, dl, Node->getValueType(0), Chain, Ptr, in LegalizeLoadOps() 821 Hi = DAG.getExtLoad(ExtType, dl, Node->getValueType(0), Chain, Ptr, in LegalizeLoadOps() 850 switch (TLI.getLoadExtAction(ExtType, Node->getValueType(0), in LegalizeLoadOps() 884 TLI.isLoadExtLegal(ExtType, LoadVT, SrcVT)) { in LegalizeLoadOps() [all …]
|
| H A D | LegalizeVectorOps.cpp | 271 ISD::LoadExtType ExtType = LD->getExtensionType(); in LegalizeOp() local 273 if (LoadedVT.isVector() && ExtType != ISD::NON_EXTLOAD) in LegalizeOp() 274 Action = TLI.getLoadExtAction(ExtType, LD->getValueType(0), LoadedVT); in LegalizeOp()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTCommon.cpp | 218 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in TypeIdxFromBuiltin() argument
|
| /openbsd-src/gnu/llvm/clang/lib/Index/ |
| H A D | USRGeneration.cpp | 721 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in VisitType() argument 723 Out << "@BT@" << #ExtType; break; in VisitType()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/ |
| H A D | CSKYISelLowering.cpp | 269 ISD::LoadExtType ExtType; in unpackFromMemLoc() local 275 ExtType = ISD::NON_EXTLOAD; in unpackFromMemLoc() 279 ExtType, DL, LocVT, Chain, FIN, in unpackFromMemLoc()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.h | 190 ISD::LoadExtType ExtType,
|
| H A D | R600ISelLowering.cpp | 1270 ISD::LoadExtType ExtType = Load->getExtensionType(); in lowerPrivateExtLoad() local 1307 if (ExtType == ISD::SEXTLOAD) { // ... ones. in lowerPrivateExtLoad() 1326 ISD::LoadExtType ExtType = LoadNode->getExtensionType(); in LowerLOAD() local 1329 ExtType != ISD::NON_EXTLOAD && MemVT.bitsLT(MVT::i32)) { in LowerLOAD()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | NSAPI.cpp | 468 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in getNSNumberFactoryMethodKind() argument
|
| H A D | TypeLoc.cpp | 411 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in getWrittenTypeSpec() argument
|
| /openbsd-src/gnu/llvm/clang/include/clang/Serialization/ |
| H A D | ASTBitCodes.h | 1088 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) PREDEF_TYPE_##Id##_ID, argument
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 269 enum ExtType { enum 288 using TypeIsSExt = PointerIntPair<Type *, 2, ExtType>; 4142 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in addPromotedInst() 4164 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in getOrigType() 7169 Instruction::CastOps ExtType = Instruction::ZExt; in optimizeSwitchType() local 7172 ExtType = Instruction::SExt; in optimizeSwitchType() 7176 ExtType = Instruction::SExt; in optimizeSwitchType() 7178 ExtType = Instruction::ZExt; in optimizeSwitchType() 7181 auto *ExtInst = CastInst::Create(ExtType, Cond, NewType); in optimizeSwitchType() 7187 APInt WideConst = (ExtType == Instruction::ZExt) in optimizeSwitchType()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86InstrInfo.td | 1182 ISD::LoadExtType ExtType = LD->getExtensionType(); 1183 return ExtType == ISD::NON_EXTLOAD || ExtType == ISD::EXTLOAD || 1184 ExtType == ISD::ZEXTLOAD; 1191 ISD::LoadExtType ExtType = LD->getExtensionType(); 1192 if (ExtType == ISD::NON_EXTLOAD) 1194 if (ExtType == ISD::EXTLOAD && EnablePromoteAnyextLoad) 1201 ISD::LoadExtType ExtType = LD->getExtensionType(); 1202 if (ExtType == ISD::NON_EXTLOAD) 1204 if (ExtType == ISD::EXTLOAD && EnablePromoteAnyextLoad) 1257 ISD::LoadExtType ExtType = LD->getExtensionType(); [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 5380 ISD::LoadExtType ExtType = MGT->getExtensionType(); in LowerMGATHER() local 5389 MGT->getMemOperand(), IndexType, ExtType); in LowerMGATHER() 5409 MGT->getMemOperand(), IndexType, ExtType); in LowerMGATHER() 5435 if (PromotedVT != DataVT && ExtType == ISD::NON_EXTLOAD) in LowerMGATHER() 5436 ExtType = ISD::EXTLOAD; in LowerMGATHER() 5451 Ops, MGT->getMemOperand(), IndexType, ExtType); in LowerMGATHER() 5743 unsigned ExtType; in LowerLOAD() local 5745 ExtType = ISD::SIGN_EXTEND; in LowerLOAD() 5748 ExtType = ISD::ZERO_EXTEND; in LowerLOAD() 5757 SDValue Ext = DAG.getNode(ExtType, DL, MVT::v8i16, BC); in LowerLOAD() [all …]
|
| H A D | AArch64FastISel.cpp | 90 AArch64_AM::ShiftExtendType ExtType = AArch64_AM::InvalidShiftExtend; member in __anond3c64d190111::AArch64FastISel::Address 105 void setExtendType(AArch64_AM::ShiftExtendType E) { ExtType = E; } in setExtendType() 106 AArch64_AM::ShiftExtendType getExtendType() const { return ExtType; } in getExtendType() 216 unsigned RHSReg, AArch64_AM::ShiftExtendType ExtType, 1430 AArch64_AM::ShiftExtendType ExtType, in emitAddSub_rx() argument 1468 .addImm(getArithExtendImm(ExtType, ShiftImm)); in emitAddSub_rx()
|