Lines Matching defs:Mapper
109 class Mapper {
126 Mapper(ValueToValueMapTy &VM, RemapFlags Flags,
133 ~Mapper() { assert(!hasWorkToDo() && "Expected to be flushed"); }
193 Mapper &M;
225 MDNodeMapper(Mapper &M) : M(M) {}
252 /// the identity mapping (\a Mapper::mapToSelf()) as long as all of its
295 /// uses \a tryToMapOperand() (via \a Mapper::mapSimplifiedNode()), so any
341 Value *Mapper::mapValue(const Value *V) {
541 void Mapper::remapDbgRecord(DbgRecord &DR) {
590 Value *Mapper::mapBlockAddress(const BlockAddress &BA) {
607 Metadata *Mapper::mapToMetadata(const Metadata *Key, Metadata *Val) {
612 Metadata *Mapper::mapToSelf(const Metadata *MD) {
883 std::optional<Metadata *> Mapper::mapSimpleMetadata(const Metadata *MD) {
916 Metadata *Mapper::mapMetadata(const Metadata *MD) {
926 void Mapper::flush() {
976 void Mapper::remapInstruction(Instruction *I) {
1052 void Mapper::remapGlobalObjectMetadata(GlobalObject &GO) {
1060 void Mapper::remapFunction(Function &F) {
1084 void Mapper::mapAppendingVariable(GlobalVariable &GV, Constant *InitPrefix,
1124 void Mapper::scheduleMapGlobalInitializer(GlobalVariable &GV, Constant &Init,
1137 void Mapper::scheduleMapAppendingVariable(GlobalVariable &GV,
1156 void Mapper::scheduleMapAliasOrIFunc(GlobalValue &GV, Constant &Target,
1171 void Mapper::scheduleRemapFunction(Function &F, unsigned MCID) {
1182 void Mapper::addFlags(RemapFlags Flags) {
1187 static Mapper *getAsMapper(void *pImpl) {
1188 return reinterpret_cast<Mapper *>(pImpl);
1194 Mapper &M;
1203 Mapper *operator->() const { return &M; }
1212 : pImpl(new Mapper(VM, Flags, TypeMapper, Materializer, IdentityMD)) {}