Home
last modified time | relevance | path

Searched refs:MemOps (Results 1 – 25 of 35) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp95 MemOpQueue &MemOps,
111 unsigned Scratch, MemOpQueue &MemOps,
114 void AdvanceRS(MachineBasicBlock &MBB, MemOpQueue &MemOps);
441 unsigned Scratch, MemOpQueue &MemOps, in MergeLDR_STR() argument
444 int Offset = MemOps[SIndex].Offset; in MergeLDR_STR()
447 MachineBasicBlock::iterator Loc = MemOps[SIndex].MBBI; in MergeLDR_STR()
474 for (unsigned i = SIndex+1, e = MemOps.size(); i != e; ++i) { in MergeLDR_STR()
475 int NewOffset = MemOps[i].Offset; in MergeLDR_STR()
476 const MachineOperand &MO = MemOps[i].MBBI->getOperand(0); in MergeLDR_STR()
492 MergeOpsUpdate(MBB, MemOps, SIndex, i, insertAfter, SOffset, in MergeLDR_STR()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp183 void FormCandidates(const MemOpQueue &MemOps);
988 void ARMLoadStoreOpt::FormCandidates(const MemOpQueue &MemOps) { in FormCandidates() argument
989 const MachineInstr *FirstMI = MemOps[0].MI; in FormCandidates()
995 unsigned EIndex = MemOps.size(); in FormCandidates()
998 const MachineInstr *MI = MemOps[SIndex].MI; in FormCandidates()
999 int Offset = MemOps[SIndex].Offset; in FormCandidates()
1032 int NewOffset = MemOps[I].Offset; in FormCandidates()
1035 const MachineOperand &MO = getLoadStoreRegOp(*MemOps[I].MI); in FormCandidates()
1063 unsigned Position = MemOps[I].Position; in FormCandidates()
1064 if (Position < MemOps[Latest].Position) in FormCandidates()
[all …]
/external/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp161 void FormCandidates(const MemOpQueue &MemOps);
956 void ARMLoadStoreOpt::FormCandidates(const MemOpQueue &MemOps) { in FormCandidates() argument
957 const MachineInstr *FirstMI = MemOps[0].MI; in FormCandidates()
963 unsigned EIndex = MemOps.size(); in FormCandidates()
966 const MachineInstr *MI = MemOps[SIndex].MI; in FormCandidates()
967 int Offset = MemOps[SIndex].Offset; in FormCandidates()
999 int NewOffset = MemOps[I].Offset; in FormCandidates()
1002 const MachineOperand &MO = getLoadStoreRegOp(*MemOps[I].MI); in FormCandidates()
1029 unsigned Position = MemOps[I].Position; in FormCandidates()
1030 if (Position < MemOps[Latest].Position) in FormCandidates()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/
DARCISelLowering.cpp477 SmallVector<SDValue, 4> MemOps; in LowerCallArguments() local
548 MemOps.push_back(Store); in LowerCallArguments()
572 MemOps.push_back(DAG.getMemcpy( in LowerCallArguments()
581 if (!MemOps.empty()) { in LowerCallArguments()
582 MemOps.push_back(Chain); in LowerCallArguments()
583 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, MemOps); in LowerCallArguments()
/external/llvm/test/CodeGen/Hexagon/
Dmemops3.ll2 ; Generate MemOps for V4 and above.
Dmemops2.ll2 ; Generate MemOps for V4 and above.
Dmemops1.ll2 ; Generate MemOps for V4 and above.
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/
Dmemops3.ll2 ; Generate MemOps for V4 and above.
Dmemops2.ll2 ; Generate MemOps for V4 and above.
Dmemops1.ll2 ; Generate MemOps for V4 and above.
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3345 static bool FindOptimalMemOpLowering(std::vector<EVT> &MemOps, in FindOptimalMemOpLowering() argument
3407 MemOps.push_back(VT); in FindOptimalMemOpLowering()
3430 std::vector<EVT> MemOps; in getMemcpyLoadsAndStores() local
3446 if (!FindOptimalMemOpLowering(MemOps, Limit, Size, in getMemcpyLoadsAndStores()
3453 Type *Ty = MemOps[0].getTypeForEVT(*DAG.getContext()); in getMemcpyLoadsAndStores()
3464 unsigned NumMemOps = MemOps.size(); in getMemcpyLoadsAndStores()
3467 EVT VT = MemOps[i]; in getMemcpyLoadsAndStores()
3523 std::vector<EVT> MemOps; in getMemmoveLoadsAndStores() local
3536 if (!FindOptimalMemOpLowering(MemOps, Limit, Size, in getMemmoveLoadsAndStores()
3542 Type *Ty = MemOps[0].getTypeForEVT(*DAG.getContext()); in getMemmoveLoadsAndStores()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4183 static bool FindOptimalMemOpLowering(std::vector<EVT> &MemOps, in FindOptimalMemOpLowering() argument
4278 MemOps.push_back(VT); in FindOptimalMemOpLowering()
4308 std::vector<EVT> MemOps; in getMemcpyLoadsAndStores() local
4324 if (!FindOptimalMemOpLowering(MemOps, Limit, Size, in getMemcpyLoadsAndStores()
4334 Type *Ty = MemOps[0].getTypeForEVT(*DAG.getContext()); in getMemcpyLoadsAndStores()
4354 unsigned NumMemOps = MemOps.size(); in getMemcpyLoadsAndStores()
4357 EVT VT = MemOps[i]; in getMemcpyLoadsAndStores()
4424 std::vector<EVT> MemOps; in getMemmoveLoadsAndStores() local
4437 if (!FindOptimalMemOpLowering(MemOps, Limit, Size, in getMemmoveLoadsAndStores()
4446 Type *Ty = MemOps[0].getTypeForEVT(*DAG.getContext()); in getMemmoveLoadsAndStores()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreISelLowering.cpp1153 SmallVector<SDValue, 4> MemOps; in LowerCCCArguments() local
1173 MemOps.push_back(Store); in LowerCCCArguments()
1175 if (!MemOps.empty()) in LowerCCCArguments()
1177 &MemOps[0], MemOps.size()); in LowerCCCArguments()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp5153 static bool FindOptimalMemOpLowering(std::vector<EVT> &MemOps, in FindOptimalMemOpLowering() argument
5248 MemOps.push_back(VT); in FindOptimalMemOpLowering()
5305 std::vector<EVT> MemOps; in getMemcpyLoadsAndStores() local
5321 if (!FindOptimalMemOpLowering(MemOps, Limit, Size, in getMemcpyLoadsAndStores()
5331 Type *Ty = MemOps[0].getTypeForEVT(C); in getMemcpyLoadsAndStores()
5355 unsigned NumMemOps = MemOps.size(); in getMemcpyLoadsAndStores()
5358 EVT VT = MemOps[i]; in getMemcpyLoadsAndStores()
5489 std::vector<EVT> MemOps; in getMemmoveLoadsAndStores() local
5502 if (!FindOptimalMemOpLowering(MemOps, Limit, Size, in getMemmoveLoadsAndStores()
5511 Type *Ty = MemOps[0].getTypeForEVT(C); in getMemmoveLoadsAndStores()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1302 SmallVector<SDValue, 4> MemOps; in LowerCCCArguments() local
1382 MemOps.push_back(Store); in LowerCCCArguments()
1410 MemOps.push_back(DAG.getMemcpy(Chain, dl, FIN, ArgDI->SDV, in LowerCCCArguments()
1421 if (!MemOps.empty()) { in LowerCCCArguments()
1422 MemOps.push_back(Chain); in LowerCCCArguments()
1423 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, MemOps); in LowerCCCArguments()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1286 SmallVector<SDValue, 4> MemOps; in LowerCCCArguments() local
1365 MemOps.push_back(Store); in LowerCCCArguments()
1393 MemOps.push_back(DAG.getMemcpy(Chain, dl, FIN, ArgDI->SDV, in LowerCCCArguments()
1404 if (!MemOps.empty()) { in LowerCCCArguments()
1405 MemOps.push_back(Chain); in LowerCCCArguments()
1406 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, MemOps); in LowerCCCArguments()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp1760 SmallVector<SDValue, 8> MemOps; in LowerFormalArguments_SVR4() local
1805 MemOps.push_back(Store); in LowerFormalArguments_SVR4()
1824 MemOps.push_back(Store); in LowerFormalArguments_SVR4()
1832 if (!MemOps.empty()) in LowerFormalArguments_SVR4()
1834 MVT::Other, &MemOps[0], MemOps.size()); in LowerFormalArguments_SVR4()
1939 SmallVector<SDValue, 8> MemOps; in LowerFormalArguments_Darwin() local
1993 MemOps.push_back(Store); in LowerFormalArguments_Darwin()
2017 MemOps.push_back(Store); in LowerFormalArguments_Darwin()
2190 MemOps.push_back(Store); in LowerFormalArguments_Darwin()
2197 if (!MemOps.empty()) in LowerFormalArguments_Darwin()
[all …]
/external/llvm/lib/CodeGen/
DMachineScheduler.cpp1381 void clusterNeighboringMemOps(ArrayRef<SUnit *> MemOps, ScheduleDAGMI *DAG);
1399 ArrayRef<SUnit *> MemOps, ScheduleDAGMI *DAG) { in clusterNeighboringMemOps() argument
1401 for (unsigned Idx = 0, End = MemOps.size(); Idx != End; ++Idx) { in clusterNeighboringMemOps()
1402 SUnit *SU = MemOps[Idx]; in clusterNeighboringMemOps()
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUISelLowering.cpp1218 SmallVector<SDValue, 79-3+1> MemOps; in LowerFormalArguments() local
1230 MemOps.push_back(Store); in LowerFormalArguments()
1235 if (!MemOps.empty()) in LowerFormalArguments()
1237 &MemOps[0], MemOps.size()); in LowerFormalArguments()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp3031 SmallVector<SDValue, 8> MemOps; in LowerFormalArguments_32SVR4() local
3077 MemOps.push_back(Store); in LowerFormalArguments_32SVR4()
3096 MemOps.push_back(Store); in LowerFormalArguments_32SVR4()
3104 if (!MemOps.empty()) in LowerFormalArguments_32SVR4()
3105 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, MemOps); in LowerFormalArguments_32SVR4()
3195 SmallVector<SDValue, 8> MemOps; in LowerFormalArguments_64SVR4() local
3299 MemOps.push_back(Store); in LowerFormalArguments_64SVR4()
3326 MemOps.push_back(Store); in LowerFormalArguments_64SVR4()
3531 MemOps.push_back(Store); in LowerFormalArguments_64SVR4()
3538 if (!MemOps.empty()) in LowerFormalArguments_64SVR4()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp3518 SmallVector<SDValue, 8> MemOps; in LowerFormalArguments_32SVR4() local
3564 MemOps.push_back(Store); in LowerFormalArguments_32SVR4()
3583 MemOps.push_back(Store); in LowerFormalArguments_32SVR4()
3591 if (!MemOps.empty()) in LowerFormalArguments_32SVR4()
3592 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, MemOps); in LowerFormalArguments_32SVR4()
3678 SmallVector<SDValue, 8> MemOps; in LowerFormalArguments_64SVR4() local
3781 MemOps.push_back(Store); in LowerFormalArguments_64SVR4()
3808 MemOps.push_back(Store); in LowerFormalArguments_64SVR4()
4012 MemOps.push_back(Store); in LowerFormalArguments_64SVR4()
4019 if (!MemOps.empty()) in LowerFormalArguments_64SVR4()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineScheduler.cpp1499 void clusterNeighboringMemOps(ArrayRef<SUnit *> MemOps, ScheduleDAGMI *DAG);
1536 ArrayRef<SUnit *> MemOps, ScheduleDAGMI *DAG) { in clusterNeighboringMemOps() argument
1538 for (SUnit *SU : MemOps) { in clusterNeighboringMemOps()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2645 SmallVector<SDValue, 8> MemOps; in saveVarArgRegisters() local
2667 MemOps.push_back(Store); in saveVarArgRegisters()
2697 MemOps.push_back(Store); in saveVarArgRegisters()
2706 if (!MemOps.empty()) { in saveVarArgRegisters()
2707 Chain = DAG.getNode(ISD::TokenFactor, DL, MVT::Other, MemOps); in saveVarArgRegisters()
4234 SmallVector<SDValue, 4> MemOps; in LowerAAPCS_VASTART() local
4238 MemOps.push_back(DAG.getStore(Chain, DL, Stack, VAList, in LowerAAPCS_VASTART()
4253 MemOps.push_back(DAG.getStore(Chain, DL, GRTop, GRTopAddr, in LowerAAPCS_VASTART()
4268 MemOps.push_back(DAG.getStore(Chain, DL, VRTop, VRTopAddr, in LowerAAPCS_VASTART()
4275 MemOps.push_back(DAG.getStore(Chain, DL, in LowerAAPCS_VASTART()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp3151 SmallVector<SDValue, 8> MemOps; in saveVarArgRegisters() local
3182 MemOps.push_back(Store); in saveVarArgRegisters()
3211 MemOps.push_back(Store); in saveVarArgRegisters()
3220 if (!MemOps.empty()) { in saveVarArgRegisters()
3221 Chain = DAG.getNode(ISD::TokenFactor, DL, MVT::Other, MemOps); in saveVarArgRegisters()
4884 SmallVector<SDValue, 4> MemOps; in LowerAAPCS_VASTART() local
4888 MemOps.push_back(DAG.getStore(Chain, DL, Stack, VAList, in LowerAAPCS_VASTART()
4903 MemOps.push_back(DAG.getStore(Chain, DL, GRTop, GRTopAddr, in LowerAAPCS_VASTART()
4919 MemOps.push_back(DAG.getStore(Chain, DL, VRTop, VRTopAddr, in LowerAAPCS_VASTART()
4927 MemOps.push_back(DAG.getStore( in LowerAAPCS_VASTART()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp1906 SmallVector<SDValue, 8> MemOps; in LowerFormalArguments() local
1921 MemOps.push_back(Store); in LowerFormalArguments()
1945 MemOps.push_back(DAG.getNode(X86ISD::VASTART_SAVE_XMM_REGS, dl, in LowerFormalArguments()
1950 if (!MemOps.empty()) in LowerFormalArguments()
1952 &MemOps[0], MemOps.size()); in LowerFormalArguments()
9007 SmallVector<SDValue, 8> MemOps; in LowerVASTART() local
9014 MemOps.push_back(Store); in LowerVASTART()
9023 MemOps.push_back(Store); in LowerVASTART()
9033 MemOps.push_back(Store); in LowerVASTART()
9042 MemOps.push_back(Store); in LowerVASTART()
[all …]

12