Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DEvaluator.h38 struct MutableAggregate;
44 PointerUnion<Constant *, MutableAggregate *> Val;
60 return Val.get<MutableAggregate *>()->Ty; in getType()
66 return Val.get<MutableAggregate *>()->toConstant(); in toConstant()
73 struct MutableAggregate { struct
77 MutableAggregate(Type *Ty) : Ty(Ty) {} in MutableAggregate() function
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp124 if (auto *Agg = Val.dyn_cast<MutableAggregate *>()) in clear()
133 while (const auto *Agg = V->Val.dyn_cast<MutableAggregate *>()) { in read()
159 MutableAggregate *MA = new MutableAggregate(Ty); in makeMutable()
177 MutableAggregate *Agg = MV->Val.get<MutableAggregate *>(); in write()
200 Constant *Evaluator::MutableAggregate::toConstant() const { in toConstant()