• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/

Lines Matching defs:Mapper

107 class Mapper {
123 Mapper(ValueToValueMapTy &VM, RemapFlags Flags,
129 ~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
292 /// uses \a tryToMapOperand() (via \a Mapper::mapSimplifiedNode()), so any
339 Value *Mapper::mapValue(const Value *V) {
491 Value *Mapper::mapBlockAddress(const BlockAddress &BA) {
508 Metadata *Mapper::mapToMetadata(const Metadata *Key, Metadata *Val) {
513 Metadata *Mapper::mapToSelf(const Metadata *MD) {
778 Optional<Metadata *> Mapper::mapSimpleMetadata(const Metadata *MD) {
804 Metadata *Mapper::mapMetadata(const Metadata *MD) {
814 void Mapper::flush() {
853 void Mapper::remapInstruction(Instruction *I) {
928 void Mapper::remapGlobalObjectMetadata(GlobalObject &GO) {
936 void Mapper::remapFunction(Function &F) {
956 void Mapper::mapAppendingVariable(GlobalVariable &GV, Constant *InitPrefix,
996 void Mapper::scheduleMapGlobalInitializer(GlobalVariable &GV, Constant &Init,
1009 void Mapper::scheduleMapAppendingVariable(GlobalVariable &GV,
1028 void Mapper::scheduleMapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS,
1041 void Mapper::scheduleRemapFunction(Function &F, unsigned MCID) {
1052 void Mapper::addFlags(RemapFlags Flags) {
1057 static Mapper *getAsMapper(void *pImpl) {
1058 return reinterpret_cast<Mapper *>(pImpl);
1064 Mapper &M;
1073 Mapper *operator->() const { return &M; }
1081 : pImpl(new Mapper(VM, Flags, TypeMapper, Materializer)) {}