Lines Matching defs:Mapper

109 class Mapper {
125 Mapper(ValueToValueMapTy &VM, RemapFlags Flags,
131 ~Mapper() { assert(!hasWorkToDo() && "Expected to be flushed"); }
191 Mapper &M;
223 MDNodeMapper(Mapper &M) : M(M) {}
250 /// the identity mapping (\a Mapper::mapToSelf()) as long as all of its
293 /// uses \a tryToMapOperand() (via \a Mapper::mapSimplifiedNode()), so any
339 Value *Mapper::mapValue(const Value *V) {
540 void Mapper::remapDbgRecord(DbgRecord &DR) {
591 Value *Mapper::mapBlockAddress(const BlockAddress &BA) {
608 Metadata *Mapper::mapToMetadata(const Metadata *Key, Metadata *Val) {
613 Metadata *Mapper::mapToSelf(const Metadata *MD) {
884 std::optional<Metadata *> Mapper::mapSimpleMetadata(const Metadata *MD) {
910 Metadata *Mapper::mapMetadata(const Metadata *MD) {
920 void Mapper::flush() {
970 void Mapper::remapInstruction(Instruction *I) {
1046 void Mapper::remapGlobalObjectMetadata(GlobalObject &GO) {
1054 void Mapper::remapFunction(Function &F) {
1078 void Mapper::mapAppendingVariable(GlobalVariable &GV, Constant *InitPrefix,
1118 void Mapper::scheduleMapGlobalInitializer(GlobalVariable &GV, Constant &Init,
1131 void Mapper::scheduleMapAppendingVariable(GlobalVariable &GV,
1150 void Mapper::scheduleMapAliasOrIFunc(GlobalValue &GV, Constant &Target,
1165 void Mapper::scheduleRemapFunction(Function &F, unsigned MCID) {
1176 void Mapper::addFlags(RemapFlags Flags) {
1181 static Mapper *getAsMapper(void *pImpl) {
1182 return reinterpret_cast<Mapper *>(pImpl);
1188 Mapper &M;
1197 Mapper *operator->() const { return &M; }
1205 : pImpl(new Mapper(VM, Flags, TypeMapper, Materializer)) {}