| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonBitTracker.h | 62 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 D | HexagonBitTracker.cpp | 84 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 D | HexagonISelDAGToDAG.cpp | 77 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 D | CGOpenCLRuntime.cpp | 65 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in convertOpenCLSpecificType() argument 68 llvm::StructType::create(Ctx, "opencl." #ExtType), AddrSpc); in convertOpenCLSpecificType()
|
| H A D | CGDebugInfo.h | 79 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ argument
|
| H A D | CodeGenTypes.cpp | 506 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in ConvertType() argument
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 998 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 D | SelectionDAG.h | 1046 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 D | AArch64InstPrinter.cpp | 981 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 D | LegalizeVectorOps.cpp | 243 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 D | LegalizeVectorTypes.cpp | 1303 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 D | LegalizeDAG.cpp | 655 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 D | LegalizeIntegerTypes.cpp | 539 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 D | SelectionDAG.cpp | 335 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 D | DAGCombiner.cpp | 628 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 D | ASTCommon.cpp | 216 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in TypeIdxFromBuiltin() argument
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | TypeLoc.cpp | 387 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in getWrittenTypeSpec() argument
|
| H A D | NSAPI.cpp | 478 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ in getNSNumberFactoryMethodKind() argument
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.h | 168 ISD::LoadExtType ExtType,
|
| H A D | R600ISelLowering.cpp | 1385 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 D | ASTBitCodes.h | 1019 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \ argument
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 226 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 D | AArch64ISelLowering.cpp | 3152 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 D | RISCVISelLowering.cpp | 1037 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 D | X86InstrInfo.td | 1055 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)
|