Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp1321 EVT MemVT = LoadNode->getMemoryVT(); in LowerLOAD()
1331 SDValue Chain = LoadNode->getChain(); in LowerLOAD()
1332 SDValue Ptr = LoadNode->getBasePtr(); in LowerLOAD()
1350 return constBufferLoad(LoadNode, LoadNode->getAddressSpace(), DAG); in LowerLOAD()
1385 LoadNode->getAlign(), LoadNode->getMemOperand()->getFlags()); in LowerLOAD()
1670 SDLoc DL(LoadNode); in constBufferLoad()
1671 EVT VT = LoadNode->getValueType(0); in constBufferLoad()
1672 SDValue Chain = LoadNode->getChain(); in constBufferLoad()
1673 SDValue Ptr = LoadNode->getBasePtr(); in constBufferLoad()
1677 if (LoadNode->getMemoryVT().getScalarType() != MVT::i32 || !ISD::isNON_EXTLoad(LoadNode)) in constBufferLoad()
[all …]
H A DR600ISelLowering.h113 SDValue constBufferLoad(LoadSDNode *LoadNode, int Block,
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGFast.cpp238 SDNode *LoadNode = NewNodes[0]; in CopyAndMoveSuccessors() local
244 SDValue(LoadNode, 1)); in CopyAndMoveSuccessors()
265 if (LoadNode->getNodeId() != -1) { in CopyAndMoveSuccessors()
266 LoadSU = &SUnits[LoadNode->getNodeId()]; in CopyAndMoveSuccessors()
269 LoadSU = newSUnit(LoadNode); in CopyAndMoveSuccessors()
270 LoadNode->setNodeId(LoadSU->NodeNum); in CopyAndMoveSuccessors()
282 Pred.getSUnit()->getNode()->isOperandOf(LoadNode)) in CopyAndMoveSuccessors()
H A DScheduleDAGRRList.cpp992 SDNode *LoadNode = NewNodes[0]; in TryUnfoldSU() local
1001 if (LoadNode->getNodeId() != -1) { in TryUnfoldSU()
1002 LoadSU = &SUnits[LoadNode->getNodeId()]; in TryUnfoldSU()
1009 LoadSU = CreateNewSUnit(LoadNode); in TryUnfoldSU()
1010 LoadNode->setNodeId(LoadSU->NodeNum); in TryUnfoldSU()
1051 SDValue(LoadNode, 1)); in TryUnfoldSU()
1062 else if (isOperandOf(Pred.getSUnit(), LoadNode)) in TryUnfoldSU()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp1290 LoadSDNode *&LoadNode, in isFusableLoadOpStorePattern() argument
1310 LoadNode = cast<LoadSDNode>(Load); in isFusableLoadOpStorePattern()
1317 if (LoadNode->getBasePtr() != StoreNode->getBasePtr() || in isFusableLoadOpStorePattern()
1318 LoadNode->getOffset() != StoreNode->getOffset()) in isFusableLoadOpStorePattern()
1328 InputChain = LoadNode->getChain(); in isFusableLoadOpStorePattern()
1349 if (Op.getNode() != LoadNode) in isFusableLoadOpStorePattern()
1416 LoadSDNode *LoadNode = nullptr; in tryFoldLoadStoreIntoMemOperand() local
1418 if (!isFusableLoadOpStorePattern(StoreNode, StoredVal, CurDAG, LoadNode, in tryFoldLoadStoreIntoMemOperand()
1441 Result, {StoreNode->getMemOperand(), LoadNode->getMemOperand()}); in tryFoldLoadStoreIntoMemOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrUtils.td147 /// LoadNode - This is the load node associated with this type. For
149 PatFrag LoadNode = loadnode;
1032 (t.LoadNode addr:$src2)))]>, DefEFLAGS;
1041 (t.LoadNode addr:$src2)))]>, DefEFLAGS, NDD<ndd>;
1047 (node t.RegClass:$src1, (t.LoadNode addr:$src2), EFLAGS))]>,
1128 [(set t.RegClass:$dst, EFLAGS, (node (t.LoadNode addr:$src1),
1133 [(set EFLAGS, (node (t.LoadNode addr:$src1), t.RegClass:$src2))]>,
1320 [(store (node (t.LoadNode addr:$src1), CL), addr:$src1)]> {
1361 [(set t.RegClass:$dst, (node (t.LoadNode addr:$src1)))]>,
1373 [(store (node (t.LoadNode addr:$src1)), addr:$src1)]>,
[all …]
H A DX86InstrShiftRotate.td375 … [(store (node (t.LoadNode addr:$src1), t.RegClass:$src2, (i8 imm:$src3)), addr:$src1)],
376 … [(store (node t.RegClass:$src2, (t.LoadNode addr:$src1), (i8 imm:$src3)), addr:$src1)]);
385 [(store (node (t.LoadNode addr:$src1), t.RegClass:$src2, CL), addr:$src1)],
386 [(store (node t.RegClass:$src2, (t.LoadNode addr:$src1), CL), addr:$src1)]);
396 … [(set t.RegClass:$dst, (node (t.LoadNode addr:$src1), t.RegClass:$src2, (i8 imm:$src3)))],
397 … [(set t.RegClass:$dst, (node t.RegClass:$src2, (t.LoadNode addr:$src1), (i8 imm:$src3)))]);
405 [(set t.RegClass:$dst, (node (t.LoadNode addr:$src1), t.RegClass:$src2, CL))],
406 [(set t.RegClass:$dst, (node t.RegClass:$src2, (t.LoadNode addr:$src1), CL))]);
H A DX86ISelDAGToDAG.cpp3366 LoadSDNode *&LoadNode, in isFusableLoadOpStorePattern() argument
3383 LoadNode = cast<LoadSDNode>(Load); in isFusableLoadOpStorePattern()
3390 if (LoadNode->getBasePtr() != StoreNode->getBasePtr() || in isFusableLoadOpStorePattern()
3391 LoadNode->getOffset() != StoreNode->getOffset()) in isFusableLoadOpStorePattern()
3462 if (Op.getNode() != LoadNode) in isFusableLoadOpStorePattern()
3528 LoadSDNode *LoadNode = nullptr; in foldLoadStoreIntoMemOperand() local
3531 LoadNode, InputChain)) { in foldLoadStoreIntoMemOperand()
3538 LoadNode, InputChain)) in foldLoadStoreIntoMemOperand()
3543 if (!selectAddr(LoadNode, LoadNode->getBasePtr(), Base, Scale, Index, Disp, in foldLoadStoreIntoMemOperand()
3701 LoadNode->getMemOperand()}; in foldLoadStoreIntoMemOperand()
[all …]
H A DX86InstrArithmetic.td292 [(set t.RegClass:$dst, EFLAGS, (X86smul_flag (t.LoadNode addr:$src1),
351 let Pattern = [(store (add (t.LoadNode addr:$src1), 1), addr:$src1),
355 let Pattern = [(store (add (t.LoadNode addr:$src1), -1), addr:$src1),
359 let Pattern = [(set t.RegClass:$dst, EFLAGS, (add (t.LoadNode addr:$src1), 1))];
362 let Pattern = [(set t.RegClass:$dst, EFLAGS, (add (t.LoadNode addr:$src1), -1))];
1321 (t.LoadNode addr:$src2)))];
H A DX86InstrMisc.td1297 [(set t.RegClass:$dst, EFLAGS, (node (t.LoadNode addr:$src1),
1386 [(set t.RegClass:$dst, (node t.RegClass:$src1, (t.LoadNode addr:$src2)))]>,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp5792 SDValue Mask = LoadNode->getMask(); in LowerMLOAD()
5798 VT, DL, LoadNode->getChain(), LoadNode->getBasePtr(), in LowerMLOAD()
5799 LoadNode->getOffset(), Mask, DAG.getUNDEF(VT), LoadNode->getMemoryVT(), in LowerMLOAD()
5800 LoadNode->getMemOperand(), LoadNode->getAddressingMode(), in LowerMLOAD()
5801 LoadNode->getExtensionType()); in LowerMLOAD()
5961 SDValue Chain = LoadNode->getChain(); in LowerLOAD()
24850 {LoadNode->getChain(), LoadNode->getBasePtr()}, in ReplaceNodeResults()
24851 LoadNode->getMemoryVT(), LoadNode->getMemOperand()); in ReplaceNodeResults()
24859 if ((!LoadNode->isVolatile() && !LoadNode->isAtomic()) || in ReplaceNodeResults()
24877 {LoadNode->getChain(), LoadNode->getBasePtr()}, in ReplaceNodeResults()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsDSPInstrInfo.td1459 class IndexedLoadPat<SDPatternOperator LoadNode, Instruction Instr> :
1460 DSPPat<(i32 (LoadNode (add i32:$base, i32:$index))),