void Builtin::Context::InitializeTarget(const TargetInfo &Target, const TargetInfo *AuxTarget) { assert(TSRecords.empty() && "Already initialized target?"); TSRecords = Target.getTargetBuiltins(); if (AuxTarget) AuxTSRecords = AuxTarget->getTargetBuiltins(); }
void Builtin::Context::InitializeTarget(const TargetInfo &Target) { assert(NumTSRecords == 0 && "Already initialized target?"); Target.getTargetBuiltins(TSRecords, NumTSRecords); }
/// \brief Load all of the target builtins. This must be called /// prior to initializing the builtin identifiers. void Builtin::Context::InitializeTargetBuiltins(const TargetInfo &Target) { Target.getTargetBuiltins(TSRecords, NumTSRecords); }