Home
last modified time | relevance | path

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

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