Lines Matching refs:TargetPrefix
30 std::string TargetPrefix;
71 TargetPrefix = Ints[0].TargetPrefix;
165 std::string Result = "return " + TargetPrefix + "Intrinsic::" +
540 OS << "static AttributeSet getAttributes(LLVMContext &C, " << TargetPrefix
710 const std::string &TargetPrefix,
718 "return " + TargetPrefix + "Intrinsic::" + I->second + ";";
734 std::map<std::string, std::string> &BIM =BuiltinMap[Ints[i].TargetPrefix];
746 OS << "// in as TargetPrefix. The result is assigned to 'IntrinsicID'.\n";
750 OS << "static " << TargetPrefix << "Intrinsic::ID "
759 OS << " StringRef TargetPrefix(TargetPrefixStr);\n\n";
765 OS << "if (TargetPrefix == \"" << I->first << "\") ";
771 EmitTargetBuiltins(I->second, TargetPrefix, OS);
775 if (!TargetPrefix.empty())
776 OS << "(" << TargetPrefix << "Intrinsic::ID)";
791 auto &Builtins = TargetBuiltins[Intrinsic.TargetPrefix];
801 "// in as a TargetPrefix. The result is assigned to 'IntrinsicID'.\n"
804 OS << (TargetOnly ? "static " + TargetPrefix : "") << "Intrinsic::ID "
808 " StringRef TargetPrefix(TP);\n"
816 OS << "if (TargetPrefix == \"" << Builtins.first << "\") ";
818 EmitTargetBuiltins(Builtins.second, TargetPrefix, OS);
823 if (!TargetPrefix.empty())
824 OS << "(" << TargetPrefix << "Intrinsic::ID)";