Home
last modified time | relevance | path

Searched refs:LoadNode (Results 1 – 20 of 20) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp1439 LoadSDNode *LoadNode = cast<LoadSDNode>(Op); in LowerLOAD() local
1440 unsigned AS = LoadNode->getAddressSpace(); in LowerLOAD()
1441 EVT MemVT = LoadNode->getMemoryVT(); in LowerLOAD()
1442 ISD::LoadExtType ExtType = LoadNode->getExtensionType(); in LowerLOAD()
1451 SDValue Chain = LoadNode->getChain(); in LowerLOAD()
1452 SDValue Ptr = LoadNode->getBasePtr(); in LowerLOAD()
1454 if ((LoadNode->getAddressSpace() == AMDGPUASI.LOCAL_ADDRESS || in LowerLOAD()
1455 LoadNode->getAddressSpace() == AMDGPUASI.PRIVATE_ADDRESS) && in LowerLOAD()
1457 return scalarizeVectorLoad(LoadNode, DAG); in LowerLOAD()
1461 int ConstantBlock = ConstantAddressBlock(LoadNode->getAddressSpace()); in LowerLOAD()
[all …]
DR600ISelLowering.h104 SDValue constBufferLoad(LoadSDNode *LoadNode, int Block,
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DScheduleDAGFast.cpp240 SDNode *LoadNode = NewNodes[0]; in CopyAndMoveSuccessors() local
246 SDValue(LoadNode, 1)); in CopyAndMoveSuccessors()
267 if (LoadNode->getNodeId() != -1) { in CopyAndMoveSuccessors()
268 LoadSU = &SUnits[LoadNode->getNodeId()]; in CopyAndMoveSuccessors()
271 LoadSU = NewSUnit(LoadNode); in CopyAndMoveSuccessors()
272 LoadNode->setNodeId(LoadSU->NodeNum); in CopyAndMoveSuccessors()
285 I->getSUnit()->getNode()->isOperandOf(LoadNode)) in CopyAndMoveSuccessors()
DScheduleDAGRRList.cpp812 SDNode *LoadNode = NewNodes[0]; in CopyAndMoveSuccessors() local
818 SDValue(LoadNode, 1)); in CopyAndMoveSuccessors()
825 if (LoadNode->getNodeId() != -1) { in CopyAndMoveSuccessors()
826 LoadSU = &SUnits[LoadNode->getNodeId()]; in CopyAndMoveSuccessors()
829 LoadSU = CreateNewSUnit(LoadNode); in CopyAndMoveSuccessors()
830 LoadNode->setNodeId(LoadSU->NodeNum); in CopyAndMoveSuccessors()
863 else if (isOperandOf(I->getSUnit(), LoadNode)) in CopyAndMoveSuccessors()
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGFast.cpp245 SDNode *LoadNode = NewNodes[0]; in CopyAndMoveSuccessors() local
251 SDValue(LoadNode, 1)); in CopyAndMoveSuccessors()
272 if (LoadNode->getNodeId() != -1) { in CopyAndMoveSuccessors()
273 LoadSU = &SUnits[LoadNode->getNodeId()]; in CopyAndMoveSuccessors()
276 LoadSU = newSUnit(LoadNode); in CopyAndMoveSuccessors()
277 LoadNode->setNodeId(LoadSU->NodeNum); in CopyAndMoveSuccessors()
290 I->getSUnit()->getNode()->isOperandOf(LoadNode)) in CopyAndMoveSuccessors()
DScheduleDAGRRList.cpp983 SDNode *LoadNode = NewNodes[0]; in CopyAndMoveSuccessors() local
989 SDValue(LoadNode, 1)); in CopyAndMoveSuccessors()
996 if (LoadNode->getNodeId() != -1) { in CopyAndMoveSuccessors()
997 LoadSU = &SUnits[LoadNode->getNodeId()]; in CopyAndMoveSuccessors()
1000 LoadSU = CreateNewSUnit(LoadNode); in CopyAndMoveSuccessors()
1001 LoadNode->setNodeId(LoadSU->NodeNum); in CopyAndMoveSuccessors()
1033 else if (isOperandOf(Pred.getSUnit(), LoadNode)) in CopyAndMoveSuccessors()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGFast.cpp244 SDNode *LoadNode = NewNodes[0]; in CopyAndMoveSuccessors() local
250 SDValue(LoadNode, 1)); in CopyAndMoveSuccessors()
271 if (LoadNode->getNodeId() != -1) { in CopyAndMoveSuccessors()
272 LoadSU = &SUnits[LoadNode->getNodeId()]; in CopyAndMoveSuccessors()
275 LoadSU = newSUnit(LoadNode); in CopyAndMoveSuccessors()
276 LoadNode->setNodeId(LoadSU->NodeNum); in CopyAndMoveSuccessors()
288 Pred.getSUnit()->getNode()->isOperandOf(LoadNode)) in CopyAndMoveSuccessors()
DScheduleDAGRRList.cpp989 SDNode *LoadNode = NewNodes[0]; in TryUnfoldSU() local
998 if (LoadNode->getNodeId() != -1) { in TryUnfoldSU()
999 LoadSU = &SUnits[LoadNode->getNodeId()]; in TryUnfoldSU()
1006 LoadSU = CreateNewSUnit(LoadNode); in TryUnfoldSU()
1007 LoadNode->setNodeId(LoadSU->NodeNum); in TryUnfoldSU()
1047 SDValue(LoadNode, 1)); in TryUnfoldSU()
1058 else if (isOperandOf(Pred.getSUnit(), LoadNode)) in TryUnfoldSU()
/external/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp1566 LoadSDNode *LoadNode = cast<LoadSDNode>(Op); in LowerLOAD() local
1567 unsigned AS = LoadNode->getAddressSpace(); in LowerLOAD()
1568 EVT MemVT = LoadNode->getMemoryVT(); in LowerLOAD()
1569 ISD::LoadExtType ExtType = LoadNode->getExtensionType(); in LowerLOAD()
1578 SDValue Chain = LoadNode->getChain(); in LowerLOAD()
1579 SDValue Ptr = LoadNode->getBasePtr(); in LowerLOAD()
1581 if (LoadNode->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS && VT.isVector()) { in LowerLOAD()
1583 scalarizeVectorLoad(LoadNode, DAG), in LowerLOAD()
1589 int ConstantBlock = ConstantAddressBlock(LoadNode->getAddressSpace()); in LowerLOAD()
1591 ((LoadNode->getExtensionType() == ISD::NON_EXTLOAD) || in LowerLOAD()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1323 LoadSDNode *LoadNode = cast<LoadSDNode>(Op); in LowerLOAD() local
1324 SDValue Chain = LoadNode->getChain(); in LowerLOAD()
1328 SDValue Base = LoadNode->getBasePtr(); in LowerLOAD()
1329 ISD::LoadExtType Ext = LoadNode->getExtensionType(); in LowerLOAD()
1330 unsigned Alignment = LoadNode->getAlignment(); in LowerLOAD()
1341 LoadNode->getPointerInfo(), MVT::i16, in LowerLOAD()
1342 LoadNode->isVolatile(), in LowerLOAD()
1343 LoadNode->isNonTemporal(), in LowerLOAD()
1344 LoadNode->isInvariant(), in LowerLOAD()
1350 LoadNode->getPointerInfo(), MVT::i16, in LowerLOAD()
[all …]
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp1798 LoadSDNode* &LoadNode, SDValue &InputChain) { in isLoadIncOrDecStore() argument
1818 LoadNode = cast<LoadSDNode>(Load); in isLoadIncOrDecStore()
1820 EVT LdVT = LoadNode->getMemoryVT(); in isLoadIncOrDecStore()
1830 if (LoadNode->getBasePtr() != StoreNode->getBasePtr() || in isLoadIncOrDecStore()
1831 LoadNode->getOffset() != StoreNode->getOffset()) in isLoadIncOrDecStore()
1841 InputChain = LoadNode->getChain(); in isLoadIncOrDecStore()
1855 int LoadId = LoadNode->getNodeId(); in isLoadIncOrDecStore()
2246 LoadSDNode *LoadNode = cast<LoadSDNode>(N1); in Select() local
2247 if (LoadNode) { in Select()
2249 MemOp[0] = LoadNode->getMemOperand(); in Select()
[all …]
DX86InstrArithmetic.td567 /// LoadNode - This is the load node associated with this type. For
569 PatFrag LoadNode = loadnode;
733 (opnode typeinfo.RegClass:$src1, (typeinfo.LoadNode addr:$src2)))]>;
740 (opnode typeinfo.RegClass:$src1, (typeinfo.LoadNode addr:$src2)))]>;
747 (opnode typeinfo.RegClass:$src1, (typeinfo.LoadNode addr:$src2)))]>;
754 (opnode typeinfo.RegClass:$src1, (typeinfo.LoadNode addr:$src2),
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp1208 LoadSDNode *&LoadNode, in isFusableLoadOpStorePattern() argument
1228 LoadNode = cast<LoadSDNode>(Load); in isFusableLoadOpStorePattern()
1235 if (LoadNode->getBasePtr() != StoreNode->getBasePtr() || in isFusableLoadOpStorePattern()
1236 LoadNode->getOffset() != StoreNode->getOffset()) in isFusableLoadOpStorePattern()
1246 InputChain = LoadNode->getChain(); in isFusableLoadOpStorePattern()
1262 int LoadId = LoadNode->getNodeId(); in isFusableLoadOpStorePattern()
1333 LoadSDNode *LoadNode = nullptr; in tryFoldLoadStoreIntoMemOperand() local
1335 if (!isFusableLoadOpStorePattern(StoreNode, StoredVal, CurDAG, LoadNode, in tryFoldLoadStoreIntoMemOperand()
1360 MemOp[1] = LoadNode->getMemOperand(); in tryFoldLoadStoreIntoMemOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp2213 LoadSDNode *&LoadNode, in isFusableLoadOpStorePattern() argument
2230 LoadNode = cast<LoadSDNode>(Load); in isFusableLoadOpStorePattern()
2237 if (LoadNode->getBasePtr() != StoreNode->getBasePtr() || in isFusableLoadOpStorePattern()
2238 LoadNode->getOffset() != StoreNode->getOffset()) in isFusableLoadOpStorePattern()
2309 if (Op.getNode() != LoadNode) in isFusableLoadOpStorePattern()
2369 LoadSDNode *LoadNode = nullptr; in foldLoadStoreIntoMemOperand() local
2371 if (!isFusableLoadOpStorePattern(StoreNode, StoredVal, CurDAG, LoadNode, in foldLoadStoreIntoMemOperand()
2376 if (!selectAddr(LoadNode, LoadNode->getBasePtr(), Base, Scale, Index, Disp, in foldLoadStoreIntoMemOperand()
2546 MemOp[1] = LoadNode->getMemOperand(); in foldLoadStoreIntoMemOperand()
2550 ReplaceUses(SDValue(LoadNode, 1), SDValue(Result, 1)); in foldLoadStoreIntoMemOperand()
DX86InstrArithmetic.td541 /// LoadNode - This is the load node associated with this type. For
543 PatFrag LoadNode = loadnode;
701 (opnode typeinfo.RegClass:$src1, (typeinfo.LoadNode addr:$src2)))]>;
708 (opnode typeinfo.RegClass:$src1, (typeinfo.LoadNode addr:$src2)))]>;
715 (opnode typeinfo.RegClass:$src1, (typeinfo.LoadNode addr:$src2),
807 [(set EFLAGS, (opnode (typeinfo.LoadNode addr:$dst),
840 [(set EFLAGS, (opnode (typeinfo.LoadNode addr:$dst),
873 [(set EFLAGS, (opnode (typeinfo.LoadNode addr:$dst),
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrArithmetic.td519 /// LoadNode - This is the load node associated with this type. For
521 PatFrag LoadNode = loadnode;
674 (opnode typeinfo.RegClass:$src1, (typeinfo.LoadNode addr:$src2)))]>;
681 (opnode typeinfo.RegClass:$src1, (typeinfo.LoadNode addr:$src2)))]>;
688 (opnode typeinfo.RegClass:$src1, (typeinfo.LoadNode addr:$src2)))]>;
695 (opnode typeinfo.RegClass:$src1, (typeinfo.LoadNode addr:$src2),
/external/llvm/lib/Target/Mips/
DMipsDSPInstrInfo.td1443 class IndexedLoadPat<SDPatternOperator LoadNode, Instruction Instr> :
1444 DSPPat<(i32 (LoadNode (add i32:$base, i32:$index))),
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsDSPInstrInfo.td1458 class IndexedLoadPat<SDPatternOperator LoadNode, Instruction Instr> :
1459 DSPPat<(i32 (LoadNode (add i32:$base, i32:$index))),
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp9341 LoadSDNode *LoadNode = cast<LoadSDNode>(V.getNode()); in checkValueWidth() local
9342 if ((LoadNode->getMemoryVT() == MVT::i8 && width == 8) in checkValueWidth()
9343 || (LoadNode->getMemoryVT() == MVT::i16 && width == 16)) { in checkValueWidth()
9344 ExtType = LoadNode->getExtensionType(); in checkValueWidth()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp10361 LoadSDNode *LoadNode = cast<LoadSDNode>(V.getNode()); in checkValueWidth() local
10362 if ((LoadNode->getMemoryVT() == MVT::i8 && width == 8) in checkValueWidth()
10363 || (LoadNode->getMemoryVT() == MVT::i16 && width == 16)) { in checkValueWidth()
10364 ExtType = LoadNode->getExtensionType(); in checkValueWidth()