首页> 外国专利> BUILD-TIME CODE SECTION-SPECIFIC COMPILER SELECTION

BUILD-TIME CODE SECTION-SPECIFIC COMPILER SELECTION

机译:编译时代码段特定的编译器选择

摘要

Systems, methods, and computer-readable media are described for selecting, at build time, a respective compiler and/or a respective set of compiler options for each section of code to be compiled such that the compiler/compiler options selected for each code section are optimized for that code section with respect to one or more metrics. Abstract syntax tree (AST) analysis and semantic analysis may be performed at build time for each section of code to identify the compiler/compiler options that produce compiled object code for that code section that maximizes or minimizes a desired metric. The metric according to which compiler/compiler option optimization is performed may be any suitable metric including, without limitation, performance, binary size, security, reliability, scalability, and so forth.
机译:描述了用于在构建时为要编译的每个代码段选择相应的编译器和/或相应的编译器选项集的系统,方法和计算机可读介质,以使得为每个代码段选择的编译器/编译器选项针对一个或多个指标针对该代码段进行了优化。可以在构建时针对代码的每个部分执行抽象语法树(AST)分析和语义分析,以标识为该代码部分生成最大化或最小化所需指标的已编译目标代码的编译器/编译器选项。执行编译器/编译器选项优化所依据的度量可以是任何合适的度量,包括但不限于性能,二进制大小,安全性,可靠性,可伸缩性等。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号