Lines Matching defs:InLTO
338 // LTO passes (when \c InLTO is true): LTO's internalization privatizes many
349 static std::string getIRPGOObjectName(const GlobalObject &GO, bool InLTO,
351 if (!InLTO) {
356 // In LTO mode (when InLTO is true), first check if there is a meta data.
368 std::string getIRPGOFuncName(const Function &F, bool InLTO) {
369 return getIRPGOObjectName(F, InLTO, getPGOFuncNameMetadata(F));
379 std::string getPGOFuncName(const Function &F, bool InLTO, uint64_t Version) {
380 if (!InLTO) {
385 // In LTO mode (when InLTO is true), first check if there is a meta data.
395 std::string getPGOName(const GlobalVariable &V, bool InLTO) {
399 return getIRPGOObjectName(V, InLTO, V.getMetadata(getPGONameMetadataName()));
471 Error InstrProfSymtab::create(Module &M, bool InLTO) {
477 if (Error E = addFuncWithName(F, getIRPGOFuncName(F, InLTO)))
480 if (Error E = addFuncWithName(F, getPGOFuncName(F, InLTO)))
488 if (Error E = addVTableWithName(G, getPGOName(G, InLTO)))