Home
last modified time | relevance | path

Searched refs:MutableValue (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DEvaluator.h43 class MutableValue {
49 MutableValue(Constant *C) { Val = C; } in MutableValue() function
50 MutableValue(const MutableValue &) = delete;
51 MutableValue(MutableValue &&Other) { in MutableValue() function
55 ~MutableValue() { clear(); } in ~MutableValue()
75 SmallVector<MutableValue> Elements;
153 DenseMap<GlobalVariable *, MutableValue> MutatedMemory;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp124 void Evaluator::MutableValue::clear() { in clear()
130 Constant *Evaluator::MutableValue::read(Type *Ty, APInt Offset, in read()
133 const MutableValue *V = this; in read()
147 bool Evaluator::MutableValue::makeMutable() { in makeMutable()
168 bool Evaluator::MutableValue::write(Constant *V, APInt Offset, in write()
172 MutableValue *MV = this; in write()
203 for (const MutableValue &MV : Elements) in toConstant()