File indexing completed on 2026-05-10 08:44:10
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef LLVM_IR_USELISTORDER_H
0015 #define LLVM_IR_USELISTORDER_H
0016
0017 #include <cstddef>
0018 #include <vector>
0019
0020 namespace llvm {
0021
0022 class Function;
0023 class Value;
0024
0025
0026 struct UseListOrder {
0027 const Value *V = nullptr;
0028 const Function *F = nullptr;
0029 std::vector<unsigned> Shuffle;
0030
0031 UseListOrder(const Value *V, const Function *F, size_t ShuffleSize)
0032 : V(V), F(F), Shuffle(ShuffleSize) {}
0033
0034 UseListOrder() = default;
0035 UseListOrder(UseListOrder &&) = default;
0036 UseListOrder &operator=(UseListOrder &&) = default;
0037 };
0038
0039 using UseListOrderStack = std::vector<UseListOrder>;
0040
0041 }
0042
0043 #endif