Home
last modified time | relevance | path

Searched refs:MemVT (Results 1 – 11 of 11) sorted by relevance

/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h636 SDValue getAtomic(unsigned Opcode, DebugLoc dl, EVT MemVT, SDValue Chain,
641 SDValue getAtomic(unsigned Opcode, DebugLoc dl, EVT MemVT, SDValue Chain,
649 SDValue getAtomic(unsigned Opcode, DebugLoc dl, EVT MemVT, SDValue Chain,
653 SDValue getAtomic(unsigned Opcode, DebugLoc dl, EVT MemVT, SDValue Chain,
660 SDValue getAtomic(unsigned Opcode, DebugLoc dl, EVT MemVT, EVT VT,
665 SDValue getAtomic(unsigned Opcode, DebugLoc dl, EVT MemVT, EVT VT,
677 EVT MemVT, MachinePointerInfo PtrInfo,
683 EVT MemVT, MachinePointerInfo PtrInfo,
689 EVT MemVT, MachineMemOperand *MMO);
703 EVT MemVT, bool isVolatile,
[all …]
DSelectionDAGNodes.h1037 AtomicSDNode(unsigned Opc, DebugLoc dl, SDVTList VTL, EVT MemVT,
1041 : MemSDNode(Opc, dl, VTL, MemVT, MMO) {
1045 AtomicSDNode(unsigned Opc, DebugLoc dl, SDVTList VTL, EVT MemVT,
1049 : MemSDNode(Opc, dl, VTL, MemVT, MMO) {
1053 AtomicSDNode(unsigned Opc, DebugLoc dl, SDVTList VTL, EVT MemVT,
1057 : MemSDNode(Opc, dl, VTL, MemVT, MMO) {
1600 EVT MemVT, MachineMemOperand *MMO)
1601 : MemSDNode(NodeTy, dl, VTs, MemVT, MMO) {
1636 ISD::MemIndexedMode AM, ISD::LoadExtType ETy, EVT MemVT,
1639 VTs, AM, MemVT, MMO) {
[all …]
/external/llvm/include/llvm/Target/
DTargetLowering.h456 LegalizeAction getTruncStoreAction(MVT ValVT, MVT MemVT) const { in getTruncStoreAction() argument
457 assert(ValVT < MVT::LAST_VALUETYPE && MemVT < MVT::LAST_VALUETYPE && in getTruncStoreAction()
460 [MemVT.SimpleTy]; in getTruncStoreAction()
465 bool isTruncStoreLegal(EVT ValVT, EVT MemVT) const { in isTruncStoreLegal() argument
466 return isTypeLegal(ValVT) && MemVT.isSimple() && in isTruncStoreLegal()
467 getTruncStoreAction(ValVT.getSimpleVT(), MemVT.getSimpleVT()) == Legal; in isTruncStoreLegal()
996 void setTruncStoreAction(MVT ValVT, MVT MemVT, in setTruncStoreAction() argument
998 assert(ValVT < MVT::LAST_VALUETYPE && MemVT < MVT::LAST_VALUETYPE && in setTruncStoreAction()
1000 TruncStoreActions[ValVT.SimpleTy][MemVT.SimpleTy] = (uint8_t)Action; in setTruncStoreAction()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4055 SDValue SelectionDAG::getAtomic(unsigned Opcode, DebugLoc dl, EVT MemVT, in getAtomic() argument
4062 Alignment = getEVTAlignment(MemVT); in getAtomic()
4077 MF.getMachineMemOperand(PtrInfo, Flags, MemVT.getStoreSize(), Alignment); in getAtomic()
4079 return getAtomic(Opcode, dl, MemVT, Chain, Ptr, Cmp, Swp, MMO, in getAtomic()
4083 SDValue SelectionDAG::getAtomic(unsigned Opcode, DebugLoc dl, EVT MemVT, in getAtomic() argument
4096 ID.AddInteger(MemVT.getRawBits()); in getAtomic()
4105 SDNode *N = new (NodeAllocator) AtomicSDNode(Opcode, dl, VTs, MemVT, Chain, in getAtomic()
4113 SDValue SelectionDAG::getAtomic(unsigned Opcode, DebugLoc dl, EVT MemVT, in getAtomic() argument
4121 Alignment = getEVTAlignment(MemVT); in getAtomic()
4138 MemVT.getStoreSize(), Alignment); in getAtomic()
[all …]
DLegalizeVectorTypes.cpp2371 EVT MemVT((MVT::SimpleValueType) VT); in FindMemType() local
2372 unsigned MemVTWidth = MemVT.getSizeInBits(); in FindMemType()
2373 if (MemVT.getSizeInBits() <= WidenEltWidth) in FindMemType()
2375 if (TLI.isTypeLegal(MemVT) && (WidenWidth % MemVTWidth) == 0 && in FindMemType()
2379 RetVT = MemVT; in FindMemType()
2388 EVT MemVT = (MVT::SimpleValueType) VT; in FindMemType() local
2389 unsigned MemVTWidth = MemVT.getSizeInBits(); in FindMemType()
2390 if (TLI.isTypeLegal(MemVT) && WidenEltVT == MemVT.getVectorElementType() && in FindMemType()
2395 if (RetVT.getSizeInBits() < MemVTWidth || MemVT == WidenVT) in FindMemType()
2396 return MemVT; in FindMemType()
DDAGCombiner.cpp730 EVT MemVT = LD->getMemoryVT(); in PromoteOperand() local
732 ? (TLI.isLoadExtLegal(ISD::ZEXTLOAD, MemVT) ? ISD::ZEXTLOAD in PromoteOperand()
739 MemVT, LD->isVolatile(), in PromoteOperand()
954 EVT MemVT = LD->getMemoryVT(); in PromoteLoad() local
956 ? (TLI.isLoadExtLegal(ISD::ZEXTLOAD, MemVT) ? ISD::ZEXTLOAD in PromoteLoad()
962 MemVT, LD->isVolatile(), in PromoteLoad()
2660 EVT MemVT = LN0->getMemoryVT(); in visitAND() local
2665 BitWidth - MemVT.getScalarType().getSizeInBits())) && in visitAND()
2667 TLI.isLoadExtLegal(ISD::ZEXTLOAD, MemVT))) { in visitAND()
2670 LN0->getPointerInfo(), MemVT, in visitAND()
[all …]
DLegalizeDAG.cpp367 EVT MemVT = EVT::getIntegerVT(*DAG.getContext(), in ExpandUnalignedStore() local
373 MemVT, false, false, 0); in ExpandUnalignedStore()
378 MemVT, ST->isVolatile(), in ExpandUnalignedStore()
485 EVT MemVT = EVT::getIntegerVT(*DAG.getContext(), in ExpandUnalignedLoad() local
489 MemVT, LD->isVolatile(), in ExpandUnalignedLoad()
496 MachinePointerInfo(), MemVT, in ExpandUnalignedLoad()
3582 EVT MemVT = EVT::getIntegerVT(*DAG.getContext(), EntrySize * 8); in ExpandNode() local
3584 MachinePointerInfo::getJumpTable(), MemVT, in ExpandNode()
DLegalizeIntegerTypes.cpp1810 EVT MemVT = N->getMemoryVT(); in ExpandIntRes_LOAD() local
1813 MemVT, isVolatile, isNonTemporal, Alignment); in ExpandIntRes_LOAD()
1857 EVT MemVT = N->getMemoryVT(); in ExpandIntRes_LOAD() local
1858 unsigned EBytes = MemVT.getStoreSize(); in ExpandIntRes_LOAD()
1865 MemVT.getSizeInBits() - ExcessBits), in ExpandIntRes_LOAD()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp1549 EVT MemVT = EVT::getIntegerVT(*DAG.getContext(), EntrySize * 8); in lowerBR_JT() local
1551 MachinePointerInfo::getJumpTable(), MemVT, false, false, in lowerBR_JT()
2107 EVT VT = LD->getValueType(0), MemVT = LD->getMemoryVT(); in CreateLoadLR() local
2117 return DAG.getMemIntrinsicNode(Opc, DL, VTList, Ops, 3, MemVT, in CreateLoadLR()
2124 EVT MemVT = LD->getMemoryVT(); in lowerLOAD() local
2127 if ((LD->getAlignment() >= MemVT.getSizeInBits() / 8) || in lowerLOAD()
2128 ((MemVT != MVT::i32) && (MemVT != MVT::i64))) in lowerLOAD()
2186 EVT MemVT = SD->getMemoryVT(), BasePtrVT = Ptr.getValueType(); in CreateStoreLR() local
2195 return DAG.getMemIntrinsicNode(Opc, DL, VTList, Ops, 3, MemVT, in CreateStoreLR()
2202 EVT MemVT = SD->getMemoryVT(); in lowerSTORE() local
[all …]
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp518 EVT MemVT; in PreprocessISelDAG() local
520 MemVT = DstVT; // FP_ROUND must use DstVT, we can't do a 'trunc load'. in PreprocessISelDAG()
522 MemVT = SrcIsSSE ? SrcVT : DstVT; in PreprocessISelDAG()
524 SDValue MemTmp = CurDAG->CreateStackTemporary(MemVT); in PreprocessISelDAG()
530 MemTmp, MachinePointerInfo(), MemVT, in PreprocessISelDAG()
534 MemVT, false, false, 0); in PreprocessISelDAG()
DX86ISelLowering.cpp16526 EVT MemVT = Ld->getMemoryVT(); in PerformLOADCombine() local
16533 bool IsAligned = Alignment == 0 || Alignment == MemVT.getSizeInBits()/8; in PerformLOADCombine()
16545 EVT HalfVT = EVT::getVectorVT(*DAG.getContext(), MemVT.getScalarType(), in PerformLOADCombine()
16575 assert(MemVT != RegVT && "Cannot extend to the same type"); in PerformLOADCombine()
16576 assert(MemVT.isVector() && "Must load a vector from memory"); in PerformLOADCombine()
16579 unsigned MemSz = MemVT.getSizeInBits(); in PerformLOADCombine()
16623 EVT::getVectorVT(*DAG.getContext(), MemVT.getScalarType(), in PerformLOADCombine()
16624 loadRegZize/MemVT.getScalarType().getSizeInBits()); in PerformLOADCombine()
16691 MemVT.getVectorElementType().getSizeInBits(); in PerformLOADCombine()