/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | Clang.cpp | 72 static void CheckPreprocessingOptions(const Driver &D, const ArgList &Args) { in CheckPreprocessingOptions() argument 73 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_C, options::OPT_CC, in CheckPreprocessingOptions() 78 if (!Args.hasArg(options::OPT_E) && !Args.hasArg(options::OPT__SLASH_P) && in CheckPreprocessingOptions() 79 !Args.hasArg(options::OPT__SLASH_EP) && !D.CCCIsCPP()) { in CheckPreprocessingOptions() 81 << A->getBaseArg().getAsString(Args) in CheckPreprocessingOptions() 87 static void CheckCodeGenerationOptions(const Driver &D, const ArgList &Args) { in CheckCodeGenerationOptions() argument 89 if (Args.hasArg(options::OPT_static)) in CheckCodeGenerationOptions() 91 Args.getLastArg(options::OPT_dynamic, options::OPT_mdynamic_no_pic)) in CheckCodeGenerationOptions() 92 D.Diag(diag::err_drv_argument_not_allowed_with) << A->getAsString(Args) in CheckCodeGenerationOptions() 178 static void ParseMRecip(const Driver &D, const ArgList &Args, in ParseMRecip() argument [all …]
|
H A D | PS4CPU.cpp | 27 static const char *makeArgString(const ArgList &Args, const char *Prefix, in makeArgString() argument 30 return Args.MakeArgString(Twine(StringRef(Prefix), Base) + Suffix); in makeArgString() 33 void tools::PScpu::addProfileRTArgs(const ToolChain &TC, const ArgList &Args, in addProfileRTArgs() argument 38 if ((Args.hasFlag(options::OPT_fprofile_arcs, options::OPT_fno_profile_arcs, in addProfileRTArgs() 40 Args.hasFlag(options::OPT_fprofile_generate, in addProfileRTArgs() 42 Args.hasFlag(options::OPT_fprofile_generate_EQ, in addProfileRTArgs() 44 Args.hasFlag(options::OPT_fprofile_instr_generate, in addProfileRTArgs() 46 Args.hasFlag(options::OPT_fprofile_instr_generate_EQ, in addProfileRTArgs() 48 Args.hasFlag(options::OPT_fcs_profile_generate, in addProfileRTArgs() 50 Args.hasFlag(options::OPT_fcs_profile_generate_EQ, in addProfileRTArgs() [all …]
|
H A D | Flang.cpp | 30 static void addDashXForInput(const ArgList &Args, const InputInfo &Input, in addDashXForInput() argument 37 void Flang::addFortranDialectOptions(const ArgList &Args, in addFortranDialectOptions() argument 39 Args.addAllArgs(CmdArgs, {options::OPT_ffixed_form, in addFortranDialectOptions() 61 void Flang::addPreprocessingOptions(const ArgList &Args, in addPreprocessingOptions() argument 63 Args.addAllArgs(CmdArgs, in addPreprocessingOptions() 85 static bool shouldLoopVersion(const ArgList &Args) { in shouldLoopVersion() argument 86 const Arg *LoopVersioningArg = Args.getLastArg( in shouldLoopVersion() 117 void Flang::addOtherOptions(const ArgList &Args, ArgStringList &CmdArgs) const { in addOtherOptions() argument 118 Args.addAllArgs(CmdArgs, in addOtherOptions() 126 if (Args.hasArg(options::OPT_gN_Group)) { in addOtherOptions() [all …]
|
H A D | Solaris.cpp | 34 const ArgList &Args, in ConstructJob() argument 37 gnutools::Assembler::ConstructJob(C, JA, Output, Inputs, Args, LinkingOutput); in ConstructJob() 40 bool solaris::isLinkerGnuLd(const ToolChain &TC, const ArgList &Args) { in isLinkerGnuLd() argument 42 const Arg *A = Args.getLastArg(options::OPT_fuse_ld_EQ); in isLinkerGnuLd() 47 static bool getPIE(const ArgList &Args, const ToolChain &TC) { in getPIE() argument 48 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_static) || in getPIE() 49 Args.hasArg(options::OPT_r)) in getPIE() 52 return Args.hasFlag(options::OPT_pie, options::OPT_no_pie, in getPIE() 53 TC.isPIEDefault(Args)); in getPIE() 57 std::string solaris::Linker::getLinkerPath(const ArgList &Args) const { in getLinkerPath() [all …]
|
H A D | FreeBSD.cpp | 31 const ArgList &Args, in ConstructJob() argument 38 claimNoWarnArgs(Args); in ConstructJob() 58 mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName); in ConstructJob() 71 if (Arg *A = Args.getLastArg(options::OPT_G)) { in ConstructJob() 73 CmdArgs.push_back(Args.MakeArgString("-G" + v)); in ConstructJob() 77 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob() 84 arm::FloatABI ABI = arm::getARMFloatABI(ToolChain, Args); in ConstructJob() 95 std::string CPU = getCPUName(D, Args, Triple); in ConstructJob() 97 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob() 102 for (const Arg *A : Args.filtered(options::OPT_ffile_prefix_map_EQ, in ConstructJob() [all …]
|
H A D | CommonArgs.cpp | 75 static bool useFramePointerForTargetByDefault(const llvm::opt::ArgList &Args, in useFramePointerForTargetByDefault() argument 77 if (Args.hasArg(clang::driver::options::OPT_pg) && in useFramePointerForTargetByDefault() 78 !Args.hasArg(clang::driver::options::OPT_mfentry)) in useFramePointerForTargetByDefault() 107 return !clang::driver::tools::areOptimizationsEnabled(Args); in useFramePointerForTargetByDefault() 113 return !clang::driver::tools::areOptimizationsEnabled(Args); in useFramePointerForTargetByDefault() 130 return !clang::driver::tools::areOptimizationsEnabled(Args); in useFramePointerForTargetByDefault() 139 return !clang::driver::tools::areOptimizationsEnabled(Args); in useFramePointerForTargetByDefault() 178 static bool mustMaintainValidFrameChain(const llvm::opt::ArgList &Args, in mustMaintainValidFrameChain() argument 184 if (Arg *A = Args.getLastArg(options::OPT_mframe_chain)) { in mustMaintainValidFrameChain() 195 static bool framePointerImpliesLeafFramePointer(const llvm::opt::ArgList &Args, in framePointerImpliesLeafFramePointer() argument [all …]
|
H A D | OpenBSD.cpp | 31 const ArgList &Args, in ConstructJob() argument 38 claimNoWarnArgs(Args); in ConstructJob() 49 arm::getARMArchCPUFromArgs(Args, MArch, MCPU, /*FromAs*/ true); in ConstructJob() 51 CmdArgs.push_back(Args.MakeArgString("-mcpu=" + Arch)); in ConstructJob() 62 std::string CPU = getCPUName(D, Args, Triple); in ConstructJob() 64 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob() 72 mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName); in ConstructJob() 85 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob() 93 Args.AddAllArgValues(CmdArgs, options::OPT_Wa_COMMA, options::OPT_Xassembler); in ConstructJob() 101 const char *Exec = Args.MakeArgString(ToolChain.GetProgramPath("as")); in ConstructJob() [all …]
|
H A D | CrossWindows.cpp | 26 const InputInfoList &Inputs, const ArgList &Args, in ConstructJob() argument 28 claimNoWarnArgs(Args); in ConstructJob() 49 Args.AddAllArgValues(CmdArgs, options::OPT_Wa_COMMA, options::OPT_Xassembler); in ConstructJob() 58 Exec = Args.MakeArgString(Assembler); in ConstructJob() 66 const InputInfoList &Inputs, const ArgList &Args, in ConstructJob() argument 77 Args.ClaimAllArgs(options::OPT_g_Group); in ConstructJob() 79 Args.ClaimAllArgs(options::OPT_emit_llvm); in ConstructJob() 81 Args.ClaimAllArgs(options::OPT_w); in ConstructJob() 85 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob() 87 if (Args.hasArg(options::OPT_pie)) in ConstructJob() [all …]
|
H A D | Darwin.cpp | 76 const ArgList &Args) { in setTripleTypeForMachOArchName() argument 88 for (Arg *A : Args.filtered(options::OPT_mios_version_min_EQ)) in setTripleTypeForMachOArchName() 91 for (Arg *A : Args.filtered(options::OPT_mwatchos_version_min_EQ)) in setTripleTypeForMachOArchName() 94 for (Arg *A : Args.filtered(options::OPT_mtvos_version_min_EQ)) in setTripleTypeForMachOArchName() 105 const ArgList &Args, in ConstructJob() argument 126 if (Args.hasArg(options::OPT_fno_integrated_as)) { in ConstructJob() 134 if (Args.hasArg(options::OPT_gstabs)) in ConstructJob() 136 else if (Args.hasArg(options::OPT_g_Group)) in ConstructJob() 141 AddMachOArch(Args, CmdArgs); in ConstructJob() 144 if (T.isX86() || Args.hasArg(options::OPT_force__cpusubtype__ALL)) in ConstructJob() [all …]
|
H A D | Hexagon.cpp | 37 static void handleHVXWarnings(const Driver &D, const ArgList &Args) { in handleHVXWarnings() argument 39 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_length_EQ)) { in handleHVXWarnings() 48 static void handleHVXTargetFeatures(const Driver &D, const ArgList &Args, in handleHVXTargetFeatures() argument 52 handleHVXWarnings(D, Args); in handleHVXTargetFeatures() 54 auto makeFeature = [&Args](Twine T, bool Enable) -> StringRef { in handleHVXTargetFeatures() 62 return Args.MakeArgString(Twine(Enable ? "+" : "-") + Twine(Opt)); in handleHVXTargetFeatures() 77 Args.getLastArg(options::OPT_mhexagon_hvx, options::OPT_mhexagon_hvx_EQ, in handleHVXTargetFeatures() 86 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx, in handleHVXTargetFeatures() 95 } else if (Arg *A = Args.getLastArg(options::OPT_mno_hexagon_hvx)) { in handleHVXTargetFeatures() 103 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_length_EQ)) { in handleHVXTargetFeatures() [all …]
|
H A D | AIX.cpp | 33 const ArgList &Args, in ConstructJob() argument 63 Args.AddAllArgValues(CmdArgs, options::OPT_Wa_COMMA, options::OPT_Xassembler); in ConstructJob() 82 const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("as")); in ConstructJob() 112 const InputInfoList &Inputs, const ArgList &Args, in ConstructJob() argument 130 if (Args.hasArg(options::OPT_static)) in ConstructJob() 134 if (Args.hasArg(options::OPT_shared)) { in ConstructJob() 139 if (Args.hasFlag(options::OPT_mxcoff_roptr, options::OPT_mno_xcoff_roptr, in ConstructJob() 141 if (Args.hasArg(options::OPT_shared)) in ConstructJob() 153 if (Args.hasFlag(options::OPT_fprofile_arcs, options::OPT_fno_profile_arcs, in ConstructJob() 155 Args.hasFlag(options::OPT_fprofile_generate, in ConstructJob() [all …]
|
H A D | DragonFly.cpp | 26 const ArgList &Args, in ConstructJob() argument 31 claimNoWarnArgs(Args); in ConstructJob() 38 Args.AddAllArgValues(CmdArgs, options::OPT_Wa_COMMA, options::OPT_Xassembler); in ConstructJob() 46 const char *Exec = Args.MakeArgString(ToolChain.GetProgramPath("as")); in ConstructJob() 55 const ArgList &Args, in ConstructJob() argument 60 const bool Static = Args.hasArg(options::OPT_static); in ConstructJob() 61 const bool Shared = Args.hasArg(options::OPT_shared); in ConstructJob() 62 const bool Profiling = Args.hasArg(options::OPT_pg); in ConstructJob() 63 const bool Pie = Args.hasArg(options::OPT_pie); in ConstructJob() 67 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob() [all …]
|
H A D | Fuchsia.cpp | 35 const ArgList &Args, in ConstructJob() argument 45 Args.ClaimAllArgs(options::OPT_g_Group); in ConstructJob() 47 Args.ClaimAllArgs(options::OPT_emit_llvm); in ConstructJob() 50 Args.ClaimAllArgs(options::OPT_w); in ConstructJob() 61 const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath()); in ConstructJob() 74 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob() 76 if (!Args.hasArg(options::OPT_shared) && !Args.hasArg(options::OPT_r)) in ConstructJob() 79 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob() 82 if (Args.hasArg(options::OPT_s)) in ConstructJob() 85 if (Args.hasArg(options::OPT_r)) { in ConstructJob() [all …]
|
H A D | CommonArgs.h | 31 const llvm::opt::ArgList &Args, 35 const llvm::opt::ArgList &Args, 38 void claimNoWarnArgs(const llvm::opt::ArgList &Args); 40 bool addSanitizerRuntimes(const ToolChain &TC, const llvm::opt::ArgList &Args, 44 const llvm::opt::ArgList &Args, 47 bool addXRayRuntime(const ToolChain &TC, const llvm::opt::ArgList &Args, 50 void linkXRayRuntimeDeps(const ToolChain &TC, const llvm::opt::ArgList &Args, 55 const llvm::opt::ArgList &Args); 70 const char *SplitDebugName(const JobAction &JA, const llvm::opt::ArgList &Args, 74 const JobAction &JA, const llvm::opt::ArgList &Args, [all …]
|
H A D | ZOS.cpp | 26 ZOS::ZOS(const Driver &D, const llvm::Triple &Triple, const ArgList &Args) in ZOS() argument 27 : ToolChain(D, Triple, Args) {} in ZOS() 50 const ArgList &Args, in ConstructJob() argument 54 Args.AddAllArgValues(CmdArgs, options::OPT_Wa_COMMA, options::OPT_Xassembler); in ConstructJob() 73 const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("as")); in ConstructJob() 78 static std::string getLEHLQ(const ArgList &Args) { in getLEHLQ() argument 79 if (Args.hasArg(options::OPT_mzos_hlq_le_EQ)) { in getLEHLQ() 80 Arg *LEHLQArg = Args.getLastArg(options::OPT_mzos_hlq_le_EQ); in getLEHLQ() 88 static std::string getClangHLQ(const ArgList &Args) { in getClangHLQ() argument 89 if (Args.hasArg(options::OPT_mzos_hlq_clang_EQ)) { in getClangHLQ() [all …]
|
H A D | MinGW.cpp | 33 const ArgList &Args, in ConstructJob() argument 35 claimNoWarnArgs(Args); in ConstructJob() 44 Args.AddAllArgValues(CmdArgs, options::OPT_Wa_COMMA, options::OPT_Xassembler); in ConstructJob() 52 const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("as")); in ConstructJob() 56 if (Args.hasArg(options::OPT_gsplit_dwarf)) in ConstructJob() 57 SplitDebugInfo(getToolChain(), C, *this, JA, Args, Output, in ConstructJob() 58 SplitDebugName(JA, Args, Inputs[0], Output)); in ConstructJob() 61 void tools::MinGW::Linker::AddLibGCC(const ArgList &Args, in AddLibGCC() argument 63 if (Args.hasArg(options::OPT_mthreads)) in AddLibGCC() 68 ToolChain::RuntimeLibType RLT = getToolChain().GetRuntimeLibType(Args); in AddLibGCC() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
H A D | FuzzerCLI.cpp | 33 std::vector<std::string> Args{std::string(ExecName)}; in handleExecNameEncodedBEOpts() local 43 Args.push_back("-global-isel"); in handleExecNameEncodedBEOpts() 45 Args.push_back("-O0"); in handleExecNameEncodedBEOpts() 47 Args.push_back("-" + Opt.str()); in handleExecNameEncodedBEOpts() 49 Args.push_back("-mtriple=" + Opt.str()); in handleExecNameEncodedBEOpts() 56 for (int I = 1, E = Args.size(); I < E; ++I) in handleExecNameEncodedBEOpts() 57 errs() << " " << Args[I]; in handleExecNameEncodedBEOpts() 61 CLArgs.reserve(Args.size()); in handleExecNameEncodedBEOpts() 62 for (std::string &S : Args) in handleExecNameEncodedBEOpts() 70 std::vector<std::string> Args{std::string(ExecName)}; in handleExecNameEncodedOptimizerOpts() local [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Testing/ |
H A D | CommandLineArgs.cpp | 16 std::vector<std::string> Args; in getCommandLineArgsForTesting() local 20 Args = {"-x", "c", "-std=c89"}; in getCommandLineArgsForTesting() 23 Args = {"-x", "c", "-std=c99"}; in getCommandLineArgsForTesting() 26 Args = {"-std=c++03", "-frtti"}; in getCommandLineArgsForTesting() 29 Args = {"-std=c++11", "-frtti"}; in getCommandLineArgsForTesting() 32 Args = {"-std=c++14", "-frtti"}; in getCommandLineArgsForTesting() 35 Args = {"-std=c++17", "-frtti"}; in getCommandLineArgsForTesting() 38 Args = {"-std=c++20", "-frtti"}; in getCommandLineArgsForTesting() 41 Args = {"-std=c++23", "-frtti"}; in getCommandLineArgsForTesting() 44 Args = {"-x", "objective-c", "-frtti", "-fobjc-nonfragile-abi"}; in getCommandLineArgsForTesting() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
H A D | RISCV.cpp | 31 const ArgList &Args) { in getArchFeatures() argument 33 Args.hasArg(options::OPT_menable_experimental_extensions); in getArchFeatures() 47 Features.push_back(Args.MakeArgString(Str)); in getArchFeatures() 50 Features.push_back(Args.MakeArgString("+experimental")); in getArchFeatures() 73 const ArgList &Args, in getRISCVTargetFeatures() argument 75 std::string MArch = getRISCVArch(Args, Triple); in getRISCVTargetFeatures() 77 if (!getArchFeatures(D, MArch, Features, Args)) in getRISCVTargetFeatures() 85 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getRISCVTargetFeatures() 99 if (Args.hasArg(options::OPT_ffixed_x1)) in getRISCVTargetFeatures() 101 if (Args.hasArg(options::OPT_ffixed_x2)) in getRISCVTargetFeatures() [all …]
|
H A D | AArch64.cpp | 32 std::string aarch64::getAArch64TargetCPU(const ArgList &Args, in getAArch64TargetCPU() argument 36 if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) { in getAArch64TargetCPU() 117 const ArgList &Args, in getAArch64ArchFeaturesFromMarch() argument 140 const ArgList &Args, in getAArch64ArchFeaturesFromMcpu() argument 152 const ArgList &Args, in getAArch64MicroArchFeaturesFromMtune() argument 177 const ArgList &Args, in getAArch64MicroArchFeaturesFromMcpu() argument 186 return getAArch64MicroArchFeaturesFromMtune(D, CPU, Args, Features); in getAArch64MicroArchFeaturesFromMcpu() 191 const ArgList &Args, in getAArch64TargetFeatures() argument 200 Args.filtered(options::OPT_Wa_COMMA, options::OPT_Xassembler)) in getAArch64TargetFeatures() 208 success = getAArch64ArchFeaturesFromMarch(D, WaMArch, Args, Extensions); in getAArch64TargetFeatures() [all …]
|
H A D | M68k.cpp | 27 std::string m68k::getM68kTargetCPU(const ArgList &Args) { in getM68kTargetCPU() argument 28 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) { in getM68kTargetCPU() 52 if (Args.hasArg(clang::driver::options::OPT_m68000)) in getM68kTargetCPU() 54 if (Args.hasArg(clang::driver::options::OPT_m68010)) in getM68kTargetCPU() 56 if (Args.hasArg(clang::driver::options::OPT_m68020)) in getM68kTargetCPU() 58 if (Args.hasArg(clang::driver::options::OPT_m68030)) in getM68kTargetCPU() 60 if (Args.hasArg(clang::driver::options::OPT_m68040)) in getM68kTargetCPU() 62 if (Args.hasArg(clang::driver::options::OPT_m68060)) in getM68kTargetCPU() 68 static void addFloatABIFeatures(const llvm::opt::ArgList &Args, in addFloatABIFeatures() argument 70 Arg *A = Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in addFloatABIFeatures() [all …]
|
/freebsd/sys/contrib/dev/acpica/compiler/ |
H A D | prutils.c | 303 PR_MACRO_ARG *Args, in PrReplaceResizeSubstring() argument 332 PrevOffset = Args->Offset[i]; in PrReplaceResizeSubstring() 333 temp = strstr (AslGbl_MacroTokenBuffer, Args->Name); in PrReplaceResizeSubstring() 336 temp = strstr (temp, Args->Name); in PrReplaceResizeSubstring() 337 Args->Offset[i] = strlen (AslGbl_MacroTokenBuffer) - in PrReplaceResizeSubstring() 339 if (Args->Offset[i] == 0) in PrReplaceResizeSubstring() 343 if ((strchr (macro_sep, AslGbl_MacroTokenBuffer[(Args->Offset[i] - 1)])) && in PrReplaceResizeSubstring() 344 (strchr (macro_sep, AslGbl_MacroTokenBuffer[(Args->Offset[i] + strlen (Args->Name))]))) in PrReplaceResizeSubstring() 346 Args->Offset[i] += 0; in PrReplaceResizeSubstring() 350 temp += strlen (Args->Name); in PrReplaceResizeSubstring() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | format | 27 template<class charT, class... Args> 38 template<class... Args> 40 basic_format_string<char, type_identity_t<Args>...>; 41 template<class... Args> 43 basic_format_string<wchar_t, type_identity_t<Args>...>; 64 template<class... Args> 65 string format(format-string<Args...> fmt, Args&&... args); 66 template<class... Args> 67 wstring format(wformat-string<Args...> fmt, Args&&... args); 68 template<class... Args> [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | NonTrivialTypeVisitor.h | 22 template <class... Ts> RetTy visit(QualType FT, Ts &&... Args) { in visit() 24 std::forward<Ts>(Args)...); in visit() 29 Ts &&... Args) { in visitWithKind() 32 return asDerived().visitARCStrong(FT, std::forward<Ts>(Args)...); in visitWithKind() 34 return asDerived().visitStruct(FT, std::forward<Ts>(Args)...); in visitWithKind() 36 return asDerived().visitTrivial(FT, std::forward<Ts>(Args)...); in visitWithKind() 38 return asDerived().visitCXXDestructor(FT, std::forward<Ts>(Args)...); in visitWithKind() 40 return asDerived().visitARCWeak(FT, std::forward<Ts>(Args)...); in visitWithKind() 51 template <class... Ts> RetTy visit(QualType FT, Ts &&... Args) { in visit() 54 std::forward<Ts>(Args)...); in visit() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 325 ArrayRef<GenericValue> Args) { in lle_X_atexit() argument 326 assert(Args.size() == 1); in lle_X_atexit() 327 TheInterpreter->addAtExitHandler((Function*)GVTOP(Args[0])); in lle_X_atexit() 334 static GenericValue lle_X_exit(FunctionType *FT, ArrayRef<GenericValue> Args) { in lle_X_exit() argument 335 TheInterpreter->exitCalled(Args[0]); in lle_X_exit() 340 static GenericValue lle_X_abort(FunctionType *FT, ArrayRef<GenericValue> Args) { in lle_X_abort() argument 356 ArrayRef<GenericValue> Args) { in lle_X_sprintf() argument 357 char *OutputBuffer = (char *)GVTOP(Args[0]); in lle_X_sprintf() 358 const char *FmtStr = (const char *)GVTOP(Args[1]); in lle_X_sprintf() 395 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf() [all …]
|