Lines Matching defs:options
160 LLVMMCJITCompilerOptions options;
161 memset(&options, 0, sizeof(options)); // Most fields are zero by default.
162 options.CodeModel = LLVMCodeModelJITDefault;
164 memcpy(PassedOptions, &options,
165 std::min(sizeof(options), SizeOfPassedOptions));
172 LLVMMCJITCompilerOptions options;
173 // If the user passed a larger sized options struct, then they were compiled
175 if (SizeOfPassedOptions > sizeof(options)) {
177 "Refusing to use options struct that is larger than my own; assuming "
186 LLVMInitializeMCJITCompilerOptions(&options, sizeof(options));
187 memcpy(&options, PassedOptions, SizeOfPassedOptions);
190 targetOptions.NoFramePointerElim = options.NoFramePointerElim;
191 targetOptions.EnableFastISel = options.EnableFastISel;
198 .setOptLevel((CodeGenOpt::Level)options.OptLevel)
199 .setCodeModel(unwrap(options.CodeModel))
201 if (options.MCJMM)
202 builder.setMCJITMemoryManager(unwrap(options.MCJMM));