}
const MachineInstrBuilder &addGlobalAddress(GlobalValue *GV,
- bool isPCRelative = false) const {
- MI->addGlobalAddressOperand(GV, isPCRelative);
+ bool isPCRelative = false, int Offset = 0) const {
+ MI->addGlobalAddressOperand(GV, isPCRelative, Offset);
return *this;
}
- const MachineInstrBuilder &addExternalSymbol(const std::string &Name,
+ const MachineInstrBuilder &addExternalSymbol(const char *FnName,
bool isPCRelative = false) const{
- MI->addExternalSymbolOperand(Name, isPCRelative);
+ MI->addExternalSymbolOperand(FnName, isPCRelative);
return *this;
}
};