Lines Matching refs:RM
155 static MCCodeGenInfo *createX86MCCodeGenInfo(const Triple &TT, Reloc::Model RM, in createX86MCCodeGenInfo() argument
162 if (RM == Reloc::Default) { in createX86MCCodeGenInfo()
168 RM = Reloc::PIC_; in createX86MCCodeGenInfo()
170 RM = Reloc::DynamicNoPIC; in createX86MCCodeGenInfo()
172 RM = Reloc::PIC_; in createX86MCCodeGenInfo()
174 RM = Reloc::Static; in createX86MCCodeGenInfo()
181 if (RM == Reloc::DynamicNoPIC) { in createX86MCCodeGenInfo()
183 RM = Reloc::PIC_; in createX86MCCodeGenInfo()
185 RM = Reloc::Static; in createX86MCCodeGenInfo()
190 if (RM == Reloc::Static && TT.isOSDarwin() && is64Bit) in createX86MCCodeGenInfo()
191 RM = Reloc::PIC_; in createX86MCCodeGenInfo()
200 X->initMCCodeGenInfo(RM, CM, OL); in createX86MCCodeGenInfo()