Home
last modified time | relevance | path

Searched defs:AvailableValue (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Scalar/
H A DGVN.cpp183 struct llvm::gvn::AvailableValue { struct in llvm::gvn
184 enum class ValType {
195 Value *Val;
197 ValType Kind;
200 unsigned Offset = 0;
202 Value *V1 = nullptr, *V2 = nullptr;
204 static AvailableValue get(Value *V, unsigned Offset = 0) { in get()
212 static AvailableValue getMI(MemIntrinsic *MI, unsigned Offset = 0) { in getMI()
220 static AvailableValue getLoad(LoadInst *Load, unsigned Offset = 0) { in getLoad()
228 static AvailableValue getUndef() { in getUndef()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DGVN.cpp164 struct llvm::gvn::AvailableValue { struct in llvm::gvn
165 enum ValType {
174 PointerIntPair<Value *, 2, ValType> Val;
177 unsigned Offset = 0;
179 static AvailableValue get(Value *V, unsigned Offset = 0) { in get()
187 static AvailableValue getMI(MemIntrinsic *MI, unsigned Offset = 0) { in getMI()
195 static AvailableValue getLoad(LoadInst *LI, unsigned Offset = 0) { in getLoad()
203 static AvailableValue getUndef() { in getUndef()
211 bool isSimpleValue() const { return Val.getInt() == SimpleVal; } in isSimpleValue()
212 bool isCoercedLoadValue() const { return Val.getInt() == LoadVal; } in isCoercedLoadValue()
[all …]
/aosp_15_r20/external/llvm/lib/Transforms/Scalar/
H A DGVN.cpp123 struct llvm::gvn::AvailableValue { struct in llvm::gvn
124 enum ValType {
133 PointerIntPair<Value *, 2, ValType> Val;
136 unsigned Offset;
138 static AvailableValue get(Value *V, unsigned Offset = 0) { in get()
146 static AvailableValue getMI(MemIntrinsic *MI, unsigned Offset = 0) { in getMI()
154 static AvailableValue getLoad(LoadInst *LI, unsigned Offset = 0) { in getLoad()
162 static AvailableValue getUndef() { in getUndef()
170 bool isSimpleValue() const { return Val.getInt() == SimpleVal; } in isSimpleValue()
171 bool isCoercedLoadValue() const { return Val.getInt() == LoadVal; } in isCoercedLoadValue()
[all …]