Home
last modified time | relevance | path

Searched refs:Copies (Results 1 – 25 of 148) sorted by relevance

123456

/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/
DMachineIRBuilderTest.cpp80 SmallVector<Register, 4> Copies; in TEST_F() local
81 collectCopies(Copies, MF); in TEST_F()
84 auto MIBAdd = B.buildAdd(s64, Copies[0], Copies[1]); in TEST_F()
106 SmallVector<Register, 4> Copies; in TEST_F() local
107 collectCopies(Copies, MF); in TEST_F()
108 B.buildUnmerge(LLT::scalar(32), Copies[0]); in TEST_F()
109 B.buildUnmerge(LLT::scalar(16), Copies[1]); in TEST_F()
127 SmallVector<Register, 4> Copies; in TEST_F() local
128 collectCopies(Copies, MF); in TEST_F()
132 B.buildFAdd(S64, Copies[0], Copies[1]); in TEST_F()
[all …]
DKnownBitsTest.cpp19 unsigned CopyReg = Copies[Copies.size() - 1]; in TEST_F()
39 unsigned CopyReg = Copies[Copies.size() - 1]; in TEST_F()
78 Register CopyReg = Copies[Copies.size() - 1]; in TEST_F()
112 Register CopyReg = Copies[Copies.size() - 1]; in TEST_F()
150 Register CopyReg = Copies[Copies.size() - 1]; in TEST_F()
187 Register CopyReg = Copies[Copies.size() - 1]; in TEST_F()
226 Register CopyReg = Copies[Copies.size() - 1]; in TEST_F()
254 unsigned CopyReg = Copies[Copies.size() - 1]; in TEST_F()
270 unsigned CopyReg = Copies[Copies.size() - 1]; in TEST_F()
297 unsigned CopyReg = Copies[Copies.size() - 1]; in TEST_F()
[all …]
DPatternMatchTest.cpp50 auto MIBAdd = B.buildAdd(s64, Copies[0], Copies[1]); in TEST_F()
59 EXPECT_EQ(Src0, Copies[0]); in TEST_F()
60 EXPECT_EQ(Src1, Copies[1]); in TEST_F()
63 auto MIBMul = B.buildMul(s64, MIBAdd, Copies[2]); in TEST_F()
70 EXPECT_EQ(Src1, Copies[2]); in TEST_F()
76 EXPECT_EQ(Src0, Copies[0]); in TEST_F()
77 EXPECT_EQ(Src1, Copies[1]); in TEST_F()
78 EXPECT_EQ(Src2, Copies[2]); in TEST_F()
81 auto MIBMul2 = B.buildMul(s64, Copies[0], B.buildConstant(s64, 42)); in TEST_F()
89 EXPECT_EQ(Src0, Copies[0]); in TEST_F()
[all …]
DLegalizerHelperTest.cpp39 B.buildInstr(TargetOpcode::G_CTTZ, {LLT::scalar(32)}, {Copies[0]}); in TEST_F()
71 B.buildInstr(TargetOpcode::G_CTTZ, {LLT::scalar(64)}, {Copies[0]}); in TEST_F()
105 B.buildInstr(TargetOpcode::G_CTLZ, {LLT::scalar(32)}, {Copies[0]}); in TEST_F()
140 B.buildInstr(TargetOpcode::G_CTTZ, {LLT::scalar(32)}, {Copies[0]}); in TEST_F()
175 B.buildInstr(TargetOpcode::G_CTTZ, {LLT::scalar(64)}, {Copies[0]}); in TEST_F()
210 auto MIBTrunc = B.buildTrunc(s8, Copies[0]); in TEST_F()
243 auto MIBTrunc = B.buildTrunc(s8, Copies[0]); in TEST_F()
273 {LLT::scalar(64)}, {Copies[0]}); in TEST_F()
300 B.buildInstr(TargetOpcode::G_CTLZ, {LLT::scalar(64)}, {Copies[0]}); in TEST_F()
331 B.buildInstr(TargetOpcode::G_CTLZ, {LLT::scalar(32)}, {Copies[0]}); in TEST_F()
[all …]
DCSETest.cpp22 auto MIBInput = B.buildInstr(TargetOpcode::G_TRUNC, {s16}, {Copies[0]}); in TEST_F()
23 auto MIBInput1 = B.buildInstr(TargetOpcode::G_TRUNC, {s16}, {Copies[1]}); in TEST_F()
73 auto MIBUnmerge = CSEB.buildUnmerge({s32, s32}, Copies[0]); in TEST_F()
74 auto MIBUnmerge2 = CSEB.buildUnmerge({s32, s32}, Copies[0]); in TEST_F()
95 .addUse(Copies[0]) in TEST_F()
96 .addUse(Copies[1]); in TEST_F()
98 CSEB.buildInstr(TargetOpcode::G_AND, {s32}, {Copies[0], Copies[1]}); in TEST_F()
102 {Copies[0], static_cast<uint64_t>(0)}); in TEST_F()
104 {Copies[0], static_cast<uint64_t>(0)}); in TEST_F()
106 {Copies[0], static_cast<uint64_t>(1)}); in TEST_F()
[all …]
DGISelMITest.h95 static void collectCopies(SmallVectorImpl<Register> &Copies, in collectCopies() argument
100 Copies.push_back(MI.getOperand(0).getReg()); in collectCopies()
125 collectCopies(Copies, MF);
137 SmallVector<Register, 4> Copies; variable
/external/llvm-project/llvm/unittests/ADT/
DAnyTest.cpp133 : Copies(Other.Copies + 1), Moves(Other.Moves) {} in TEST()
134 TestType(TestType &&Other) : Copies(Other.Copies), Moves(Other.Moves + 1) {} in TEST()
135 int Copies = 0; in TEST() member
141 EXPECT_EQ(0, T1.Copies); in TEST()
147 EXPECT_EQ(1, T2.Copies); in TEST()
152 EXPECT_EQ(0, T3.Copies); in TEST()
DSTLExtrasTest.cpp164 int Copies = 0; in TEST() local
168 auto E1 = enumerate(Range<true, false>(Copies, Moves, Destructors)); in TEST()
171 EXPECT_EQ(0, Copies); in TEST()
175 EXPECT_EQ(0, Copies); in TEST()
179 Copies = Moves = Destructors = 0; in TEST()
182 Range<false, false> R(Copies, Moves, Destructors); in TEST()
186 EXPECT_EQ(0, Copies); in TEST()
190 EXPECT_EQ(0, Copies); in TEST()
/external/llvm-project/llvm/lib/CodeGen/
DMachineCopyPropagation.cpp95 DenseMap<MCRegister, CopyInfo> Copies; member in __anon763b7cbf0111::CopyTracker
105 auto CI = Copies.find(*RUI); in markRegsUnavailable()
106 if (CI != Copies.end()) in markRegsUnavailable()
120 auto I = Copies.find(*RUI); in invalidateRegister()
121 if (I != Copies.end()) { in invalidateRegister()
132 Copies.erase(*RUI); in invalidateRegister()
138 auto I = Copies.find(*RUI); in clobberRegister()
139 if (I != Copies.end()) { in clobberRegister()
148 Copies.erase(I); in clobberRegister()
162 Copies[*RUI] = {MI, {}, true}; in trackCopy()
[all …]
DTailDuplicator.cpp169 SmallVector<MachineInstr *, 16> Copies; in tailDuplicateAndUpdate() local
171 TDBBs, Copies, CandidatePtr)) in tailDuplicateAndUpdate()
243 for (unsigned i = 0, e = Copies.size(); i != e; ++i) { in tailDuplicateAndUpdate()
244 MachineInstr *Copy = Copies[i]; in tailDuplicateAndUpdate()
350 SmallVectorImpl<std::pair<Register, RegSubRegPair>> &Copies, in processPHI() argument
363 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI()
720 SmallVectorImpl<MachineInstr *> &Copies) { in duplicateSimpleBB() argument
819 SmallVectorImpl<MachineInstr *> &Copies, in tailDuplicate() argument
830 return duplicateSimpleBB(TailBB, TDBBs, UsedByPhi, Copies); in tailDuplicate()
887 appendCopies(PredBB, CopyInfos, Copies); in tailDuplicate()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineCopyPropagation.cpp94 DenseMap<unsigned, CopyInfo> Copies; member in __anondbb313330111::CopyTracker
104 auto CI = Copies.find(*RUI); in markRegsUnavailable()
105 if (CI != Copies.end()) in markRegsUnavailable()
118 auto I = Copies.find(*RUI); in invalidateRegister()
119 if (I != Copies.end()) { in invalidateRegister()
130 Copies.erase(*RUI); in invalidateRegister()
136 auto I = Copies.find(*RUI); in clobberRegister()
137 if (I != Copies.end()) { in clobberRegister()
146 Copies.erase(I); in clobberRegister()
160 Copies[*RUI] = {MI, {}, true}; in trackCopy()
[all …]
DTailDuplicator.cpp168 SmallVector<MachineInstr *, 16> Copies; in tailDuplicateAndUpdate() local
169 if (!tailDuplicate(IsSimple, MBB, ForcedLayoutPred, TDBBs, Copies)) in tailDuplicateAndUpdate()
241 for (unsigned i = 0, e = Copies.size(); i != e; ++i) { in tailDuplicateAndUpdate()
242 MachineInstr *Copy = Copies[i]; in tailDuplicateAndUpdate()
348 SmallVectorImpl<std::pair<unsigned, RegSubRegPair>> &Copies, in processPHI() argument
361 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI()
708 SmallVectorImpl<MachineInstr *> &Copies) { in duplicateSimpleBB() argument
807 SmallVectorImpl<MachineInstr *> &Copies) { in tailDuplicate() argument
815 return duplicateSimpleBB(TailBB, TDBBs, UsedByPhi, Copies); in tailDuplicate()
864 appendCopies(PredBB, CopyInfos, Copies); in tailDuplicate()
[all …]
/external/llvm/include/llvm/CodeGen/
DTailDuplicator.h65 SmallVectorImpl<std::pair<unsigned, RegSubRegPair>> &Copies,
78 SmallVectorImpl<MachineInstr *> &Copies);
82 SmallVectorImpl<MachineInstr *> &Copies);
85 SmallVectorImpl<MachineInstr *> &Copies);
/external/libcxx/benchmarks/
Dalgorithms.bench.cpp106 TEST_ALWAYS_INLINE void resetCopies(benchmark::State& state, T& Copies, in resetCopies() argument
109 for (auto& Copy : Copies) in resetCopies()
117 auto Copies = makeOrderedValues<ValueType>(Quantity, O); in runOpOnCopies() local
118 const auto Orig = Copies[0]; in runOpOnCopies()
120 const size_t Batch = CountElements ? Copies.size() * Quantity : Copies.size(); in runOpOnCopies()
122 for (auto& Copy : Copies) { in runOpOnCopies()
126 resetCopies(state, Copies, Orig); in runOpOnCopies()
/external/tensorflow/tensorflow/core/kernels/
Dsparse_matmul_op_test.cc121 #define BM_SPARSE_REPLICATED(M, K, N, S1, S2, Copies) \ argument
122 static void BM_Sparse_replicated##_##M##_##K##_##N##_##S1##_##S2##_##Copies( \
125 (Copies), S1 / 100.0, S2 / 100.0); \
128 ReplicatedSparseMatMul(M, N, K, S1 / 100.0, S2 / 100.0, (Copies)); \
130 state.SetItemsProcessed(state.iterations() * M * K * N * Copies * 2); \
132 BENCHMARK(BM_Sparse_replicated##_##M##_##K##_##N##_##S1##_##S2##_##Copies) \
218 #define BM_SPARSE_MULTI(M, K, N, S1, S2, Copies) \ argument
219 …static void BM_Sparse_Multi##_##M##_##K##_##N##_##S1##_##S2##_##Copies(::testing::benchmark::State…
220 auto label = strings::Printf("%d_%d_%d_%d_%0.2f_%0.2f", M, K, N, Copies, \
223 auto g = MultiSparseMatMul(M, N, K, S1 / 100.0, S2 / 100.0, Copies); \
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTailDuplicator.h103 SmallVectorImpl<std::pair<unsigned, RegSubRegPair>> &Copies,
116 SmallVectorImpl<MachineInstr *> &Copies);
121 SmallVectorImpl<MachineInstr *> &Copies);
124 SmallVectorImpl<MachineInstr *> &Copies);
/external/llvm-project/llvm/include/llvm/CodeGen/
DTailDuplicator.h106 SmallVectorImpl<std::pair<Register, RegSubRegPair>> &Copies,
119 SmallVectorImpl<MachineInstr *> &Copies);
124 SmallVectorImpl<MachineInstr *> &Copies,
128 SmallVectorImpl<MachineInstr *> &Copies);
/external/llvm-project/libcxx/benchmarks/
Dalgorithms.bench.cpp155 TEST_ALWAYS_INLINE void resetCopies(benchmark::State& state, T& Copies, in resetCopies() argument
158 for (auto& Copy : Copies) in resetCopies()
171 auto Copies = makeOrderedValues<ValueType>(Quantity, O); in runOpOnCopies() local
172 auto Orig = Copies; in runOpOnCopies()
175 ? Copies.size() * Quantity in runOpOnCopies()
176 : Copies.size(); in runOpOnCopies()
178 for (auto& Copy : Copies) { in runOpOnCopies()
183 Copies = Orig; in runOpOnCopies()
/external/llvm/lib/CodeGen/
DTailDuplicator.cpp129 SmallVector<MachineInstr *, 16> Copies; in tailDuplicateAndUpdate() local
130 if (!tailDuplicate(MF, IsSimple, MBB, TDBBs, Copies)) in tailDuplicateAndUpdate()
202 for (unsigned i = 0, e = Copies.size(); i != e; ++i) { in tailDuplicateAndUpdate()
203 MachineInstr *Copy = Copies[i]; in tailDuplicateAndUpdate()
306 SmallVectorImpl<std::pair<unsigned, RegSubRegPair>> &Copies, in processPHI() argument
319 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI()
646 SmallVectorImpl<MachineInstr *> &Copies) { in duplicateSimpleBB() argument
725 SmallVectorImpl<MachineInstr *> &Copies) { in tailDuplicate() argument
732 return duplicateSimpleBB(TailBB, TDBBs, UsedByPhi, Copies); in tailDuplicate()
788 appendCopies(PredBB, CopyInfos, Copies); in tailDuplicate()
[all …]
/external/deqp/doc/testspecs/GLES31/
Dfunctional.copy_image.txt30 + Copies between different formats
31 + Copies between different compressed formats
32 + Copies between compressed and non-compressed formats
40 + Copies between two float formats
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGFast.cpp383 SmallVectorImpl<SUnit*> &Copies) { in InsertCopiesAndMoveSuccs() argument
416 Copies.push_back(CopyFromSU); in InsertCopiesAndMoveSuccs()
417 Copies.push_back(CopyToSU); in InsertCopiesAndMoveSuccs()
593 SmallVector<SUnit*, 2> Copies; in ListScheduleBottomUp() local
594 InsertCopiesAndMoveSuccs(LRDef, Reg, DestRC, RC, Copies); in ListScheduleBottomUp()
596 << " to SU #" << Copies.front()->NodeNum << "\n"); in ListScheduleBottomUp()
597 AddPred(TrySU, SDep(Copies.front(), SDep::Artificial)); in ListScheduleBottomUp()
598 NewDef = Copies.back(); in ListScheduleBottomUp()
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGFast.cpp390 SmallVectorImpl<SUnit*> &Copies) { in InsertCopiesAndMoveSuccs() argument
424 Copies.push_back(CopyFromSU); in InsertCopiesAndMoveSuccs()
425 Copies.push_back(CopyToSU); in InsertCopiesAndMoveSuccs()
601 SmallVector<SUnit*, 2> Copies; in ListScheduleBottomUp() local
602 InsertCopiesAndMoveSuccs(LRDef, Reg, DestRC, RC, Copies); in ListScheduleBottomUp()
604 << " to SU #" << Copies.front()->NodeNum << "\n"); in ListScheduleBottomUp()
605 AddPred(TrySU, SDep(Copies.front(), SDep::Artificial)); in ListScheduleBottomUp()
606 NewDef = Copies.back(); in ListScheduleBottomUp()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGFast.cpp383 SmallVectorImpl<SUnit*> &Copies) { in InsertCopiesAndMoveSuccs() argument
416 Copies.push_back(CopyFromSU); in InsertCopiesAndMoveSuccs()
417 Copies.push_back(CopyToSU); in InsertCopiesAndMoveSuccs()
593 SmallVector<SUnit*, 2> Copies; in ListScheduleBottomUp() local
594 InsertCopiesAndMoveSuccs(LRDef, Reg, DestRC, RC, Copies); in ListScheduleBottomUp()
596 << " to SU #" << Copies.front()->NodeNum << "\n"); in ListScheduleBottomUp()
597 AddPred(TrySU, SDep(Copies.front(), SDep::Artificial)); in ListScheduleBottomUp()
598 NewDef = Copies.back(); in ListScheduleBottomUp()
/external/llvm-project/llvm/lib/Target/Hexagon/
DRDFCopy.cpp65 Copies.push_back(SA.Id); in recordCopy()
106 for (NodeId I : Copies) { in run()
133 for (NodeId C : Copies) { in run()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DRDFCopy.cpp65 Copies.push_back(SA.Id); in recordCopy()
106 for (NodeId I : Copies) { in run()
133 for (NodeId C : Copies) { in run()

123456