Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp858 std::vector<LLT> &MemOps, unsigned Limit, uint64_t Size, unsigned DstAlign, in findGISelOptimalMemOpLowering() argument
920 MemOps.push_back(Ty); in findGISelOptimalMemOpLowering()
982 std::vector<LLT> MemOps; in optimizeMemset() local
991 MemOps, Limit, KnownLen, (DstAlignCanChange ? 0 : Align), 0, in optimizeMemset()
1000 Type *IRTy = getTypeForLLT(MemOps[0], C); in optimizeMemset()
1013 LLT LargestTy = MemOps[0]; in optimizeMemset()
1014 for (unsigned i = 1; i < MemOps.size(); i++) in optimizeMemset()
1015 if (MemOps[i].getSizeInBits() > LargestTy.getSizeInBits()) in optimizeMemset()
1016 LargestTy = MemOps[i]; in optimizeMemset()
1031 for (unsigned I = 0; I < MemOps.size(); I++) { in optimizeMemset()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp184 void FormCandidates(const MemOpQueue &MemOps);
1000 void ARMLoadStoreOpt::FormCandidates(const MemOpQueue &MemOps) { in FormCandidates() argument
1001 const MachineInstr *FirstMI = MemOps[0].MI; in FormCandidates()
1007 unsigned EIndex = MemOps.size(); in FormCandidates()
1010 const MachineInstr *MI = MemOps[SIndex].MI; in FormCandidates()
1011 int Offset = MemOps[SIndex].Offset; in FormCandidates()
1056 int NewOffset = MemOps[I].Offset; in FormCandidates()
1059 const MachineOperand &MO = getLoadStoreRegOp(*MemOps[I].MI); in FormCandidates()
1089 unsigned Position = MemOps[I].Position; in FormCandidates()
1090 if (Position < MemOps[Latest].Position) in FormCandidates()
[all …]
DARMTargetTransformInfo.cpp559 std::vector<EVT> MemOps; in getMemcpyCost() local
565 MemOps, Limit, Size, DstAlign, SrcAlign, false /*IsMemset*/, in getMemcpyCost()
569 return MemOps.size() * 2; in getMemcpyCost()
/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/llvm-project/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp186 void FormCandidates(const MemOpQueue &MemOps);
1002 void ARMLoadStoreOpt::FormCandidates(const MemOpQueue &MemOps) { in FormCandidates() argument
1003 const MachineInstr *FirstMI = MemOps[0].MI; in FormCandidates()
1009 unsigned EIndex = MemOps.size(); in FormCandidates()
1012 const MachineInstr *MI = MemOps[SIndex].MI; in FormCandidates()
1013 int Offset = MemOps[SIndex].Offset; in FormCandidates()
1058 int NewOffset = MemOps[I].Offset; in FormCandidates()
1061 const MachineOperand &MO = getLoadStoreRegOp(*MemOps[I].MI); in FormCandidates()
1091 unsigned Position = MemOps[I].Position; in FormCandidates()
1092 if (Position < MemOps[Latest].Position) in FormCandidates()
[all …]
DARMTargetTransformInfo.cpp1017 std::vector<EVT> MemOps; in getNumMemOps() local
1019 MemOps, Limit, MOp, DstAddrSpace, in getNumMemOps()
1021 return MemOps.size() * Factor; in getNumMemOps()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp954 static bool findGISelOptimalMemOpLowering(std::vector<LLT> &MemOps, in findGISelOptimalMemOpLowering() argument
1012 MemOps.push_back(Ty); in findGISelOptimalMemOpLowering()
1079 std::vector<LLT> MemOps; in optimizeMemset() local
1087 if (!findGISelOptimalMemOpLowering(MemOps, Limit, in optimizeMemset()
1098 Type *IRTy = getTypeForLLT(MemOps[0], C); in optimizeMemset()
1111 LLT LargestTy = MemOps[0]; in optimizeMemset()
1112 for (unsigned i = 1; i < MemOps.size(); i++) in optimizeMemset()
1113 if (MemOps[i].getSizeInBits() > LargestTy.getSizeInBits()) in optimizeMemset()
1114 LargestTy = MemOps[i]; in optimizeMemset()
1129 for (unsigned I = 0; I < MemOps.size(); I++) { in optimizeMemset()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCISelLowering.cpp476 SmallVector<SDValue, 4> MemOps; in LowerCallArguments() local
547 MemOps.push_back(Store); in LowerCallArguments()
571 MemOps.push_back(DAG.getMemcpy( in LowerCallArguments()
580 if (!MemOps.empty()) { in LowerCallArguments()
581 MemOps.push_back(Chain); in LowerCallArguments()
582 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, MemOps); in LowerCallArguments()
/external/llvm-project/llvm/lib/Target/ARC/
DARCISelLowering.cpp475 SmallVector<SDValue, 4> MemOps; in LowerCallArguments() local
546 MemOps.push_back(Store); in LowerCallArguments()
571 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-project/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/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/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-10.0/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1292 SmallVector<SDValue, 4> MemOps; in LowerCCCArguments() local
1371 MemOps.push_back(Store); in LowerCCCArguments()
1399 MemOps.push_back(DAG.getMemcpy(Chain, dl, FIN, ArgDI->SDV, in LowerCCCArguments()
1410 if (!MemOps.empty()) { in LowerCCCArguments()
1411 MemOps.push_back(Chain); in LowerCCCArguments()
1412 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, MemOps); in LowerCCCArguments()
/external/llvm-project/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1291 SmallVector<SDValue, 4> MemOps; in LowerCCCArguments() local
1370 MemOps.push_back(Store); in LowerCCCArguments()
1399 MemOps.push_back(DAG.getMemcpy( in LowerCCCArguments()
1409 if (!MemOps.empty()) { in LowerCCCArguments()
1410 MemOps.push_back(Chain); in LowerCCCArguments()
1411 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, MemOps); in LowerCCCArguments()
/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-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp5889 std::vector<EVT> MemOps; in getMemcpyLoadsAndStores() local
5906 MemOps, Limit, Size, (DstAlignCanChange ? 0 : Alignment), in getMemcpyLoadsAndStores()
5914 Type *Ty = MemOps[0].getTypeForEVT(C); in getMemcpyLoadsAndStores()
5938 unsigned NumMemOps = MemOps.size(); in getMemcpyLoadsAndStores()
5941 EVT VT = MemOps[i]; in getMemcpyLoadsAndStores()
6072 std::vector<EVT> MemOps; in getMemmoveLoadsAndStores() local
6089 MemOps, Limit, Size, (DstAlignCanChange ? 0 : Align), SrcAlign, in getMemmoveLoadsAndStores()
6096 Type *Ty = MemOps[0].getTypeForEVT(C); in getMemmoveLoadsAndStores()
6112 unsigned NumMemOps = MemOps.size(); in getMemmoveLoadsAndStores()
6114 EVT VT = MemOps[i]; in getMemmoveLoadsAndStores()
[all …]
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp6009 std::vector<EVT> MemOps; in getMemcpyLoadsAndStores() local
6032 MemOps, Limit, Op, DstPtrInfo.getAddrSpace(), in getMemcpyLoadsAndStores()
6037 Type *Ty = MemOps[0].getTypeForEVT(C); in getMemcpyLoadsAndStores()
6060 unsigned NumMemOps = MemOps.size(); in getMemcpyLoadsAndStores()
6063 EVT VT = MemOps[i]; in getMemcpyLoadsAndStores()
6197 std::vector<EVT> MemOps; in getMemmoveLoadsAndStores() local
6211 MemOps, Limit, in getMemmoveLoadsAndStores()
6219 Type *Ty = MemOps[0].getTypeForEVT(C); in getMemmoveLoadsAndStores()
6235 unsigned NumMemOps = MemOps.size(); in getMemmoveLoadsAndStores()
6237 EVT VT = MemOps[i]; in getMemmoveLoadsAndStores()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DMachineScheduler.cpp1547 void clusterNeighboringMemOps(ArrayRef<MemOpInfo> MemOps, bool FastCluster,
1551 bool groupMemOps(ArrayRef<MemOpInfo> MemOps, ScheduleDAGInstrs *DAG,
1709 ArrayRef<MemOpInfo> MemOps, ScheduleDAGInstrs *DAG, in groupMemOps() argument
1713 MemOps.size() * DAG->SUnits.size() / 1000 > FastClusterThreshold; in groupMemOps()
1715 for (const auto &MemOp : MemOps) { in groupMemOps()
/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/llvm-project/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp3892 SmallVector<SDValue, 8> MemOps; in LowerFormalArguments_32SVR4() local
3939 MemOps.push_back(Store); in LowerFormalArguments_32SVR4()
3958 MemOps.push_back(Store); in LowerFormalArguments_32SVR4()
3966 if (!MemOps.empty()) in LowerFormalArguments_32SVR4()
3967 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, MemOps); in LowerFormalArguments_32SVR4()
4050 SmallVector<SDValue, 8> MemOps; in LowerFormalArguments_64SVR4() local
4155 MemOps.push_back(Store); in LowerFormalArguments_64SVR4()
4182 MemOps.push_back(Store); in LowerFormalArguments_64SVR4()
4359 MemOps.push_back(Store); in LowerFormalArguments_64SVR4()
4366 if (!MemOps.empty()) in LowerFormalArguments_64SVR4()
[all …]
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp939 SmallVector<SDValue, 8> MemOps; in LowerVASTART() local
967 MemOps.push_back(Store); in LowerVASTART()
976 MemOps.push_back(Store); in LowerVASTART()
985 MemOps.push_back(Store); in LowerVASTART()
987 return DAG.getNode(ISD::TokenFactor, DL, MVT::Other, MemOps); in LowerVASTART()

12