Home
last modified time | relevance | path

Searched defs:AvailableValueInBlock (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DGVN.cpp1096 struct AvailableValueInBlock { struct
1098 BasicBlock *BB;
1099 enum ValType {
1106 PointerIntPair<Value *, 2, ValType> Val;
1109 unsigned Offset;
1111 static AvailableValueInBlock get(BasicBlock *BB, Value *V, in get()
1121 static AvailableValueInBlock getMI(BasicBlock *BB, MemIntrinsic *MI, in getMI()
1131 static AvailableValueInBlock getLoad(BasicBlock *BB, LoadInst *LI, in getLoad()
1141 bool isSimpleValue() const { return Val.getInt() == SimpleVal; } in isSimpleValue()
1142 bool isCoercedLoadValue() const { return Val.getInt() == LoadVal; } in isCoercedLoadValue()
[all …]
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp198 struct llvm::gvn::AvailableValueInBlock { struct in llvm::gvn
200 BasicBlock *BB;
203 AvailableValue AV;
205 static AvailableValueInBlock get(BasicBlock *BB, AvailableValue &&AV) { in get()
212 static AvailableValueInBlock get(BasicBlock *BB, Value *V, in get()
216 static AvailableValueInBlock getUndef(BasicBlock *BB) { in getUndef()
222 Value *MaterializeAdjustedValue(LoadInst *LI, GVN &gvn) const { in MaterializeAdjustedValue()