/arkcompiler/runtime_core/static_core/libllvmbackend/ |
H A D | target_machine_builder.cpp | 25 ASSERT(triple_.getArch() != llvm::Triple::UnknownArch); in Build() 27 auto target = llvm::TargetRegistry::lookupTarget("", triple_, error); in Build() 30 llvm::StringRef {"Could not lookupTarget by triple = '"} + triple_.str() + in Build() 36 auto machine = target->createTargetMachine(triple_.getTriple(), cpu_, features_, targetOptions, llvm::Reloc::PIC_, in Build()
|
H A D | target_machine_builder.h | 41 triple_ = std::move(triple); in SetTriple() 51 llvm::Triple triple_; member in ark::llvmbackend::TargetMachineBuilder
|
H A D | llvm_ark_interface.cpp | 98 : runtime_(runtime), triple_(std::move(triple)), aotBuilder_(aotBuilder), lock_ {lock} in LLVMArkInterface() 105 return runtime_->GetCompiledEntryPointOffset(LLVMArchToArkArch(triple_.getArch())); in GetCompiledEntryPointOffset() 110 switch (LLVMArchToArkArch(triple_.getArch())) { in GetThreadRegister() 142 switch (LLVMArchToArkArch(triple_.getArch())) { in GetFramePointerRegister() 164 Arch arkArch = LLVMArchToArkArch(triple_.getArch()); in GetEntrypointTlsOffset() 171 return runtime_->GetTlsFrameKindOffset(LLVMArchToArkArch(triple_.getArch())); in GetTlsFrameKindOffset() 176 Arch arkArch = LLVMArchToArkArch(triple_.getArch()); in GetTlsPreWrbEntrypointOffset() 182 Arch arkArch = LLVMArchToArkArch(triple_.getArch()); in GetClassOffset() 188 Arch arkArch = LLVMArchToArkArch(triple_.getArch()); in GetManagedThreadPostWrbOneObjectOffset() 304 if (llvmId == llvm::Intrinsic::memcpy && !MustLowerMemCpy(intrinsicInst, triple_ in GetLLVMIntrinsicId() [all...] |
H A D | llvm_ark_interface.h | 144 return triple_.getArch() == llvm::Triple::ArchType::aarch64; in IsArm64() 231 llvm::Triple triple_; member in ark::ark::ark::llvmbackend::LLVMArkInterface
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | ir_module.h | 36 triple_ = cfg.GetTriple(); in IRModule() 56 return triple_; in GetTriple() 81 Triple triple_; member in panda::ecmascript::kungfu::IRModule
|
H A D | stub_compiler.h | 29 : triple_(triple),
in StubCompiler() 55 std::string triple_ {};
|
H A D | stub_compiler.cpp | 139 StubFileGenerator generator(log, logList, triple_, concurrentCompile_); in BuildStubModuleAndSave() 143 Module* stubM = generator.AddModule(&allocator, "bc_stub", triple_, stubOp, log->OutputASM(), StubFileKind::BC); in BuildStubModuleAndSave() 152 Module* comM = generator.AddModule(&allocator, "com_stub", triple_, comOp, log->OutputASM(), StubFileKind::COM); in BuildStubModuleAndSave() 161 Module* builtinM = generator.AddModule(&allocator, "builtin_stub", triple_, builtinOp, log->OutputASM(), in BuildStubModuleAndSave() 171 Module* baselineM = generator.AddModule(&allocator, "baseline_stub", triple_, baselineOp, log->OutputASM(), in BuildStubModuleAndSave()
|
H A D | compilation_driver.cpp | 39 triple_(triple), in CompilationDriver() 49 return IsCurModuleFull() ? fileGenerator_->AddModule(fileName_, triple_, *lOptions_, outputAsm_) in GetModule() 116 return IsCurModuleFull() ? fileGenerator_->AddModule(fileName_, triple_, *lOptions_, outputAsm_, true) : in GetModule()
|
H A D | jit_compiler.cpp | 48 triple_ = TARGET_X64; in JitCompilationOptions() 50 triple_ = TARGET_AARCH64; in JitCompilationOptions() 133 jitCompiler->GetJitOptions().triple_, in Compile() 146 jitCompiler->GetJitOptions().triple_, jitCompilationEnv_->GetJSOptions().IsCompilerEnableLiteCG()); in Compile()
|
H A D | circuit_builder_helper.h | 34 return triple_ == Triple::TRIPLE_ARM32; in Is32Bit() 39 return triple_ == Triple::TRIPLE_AARCH64; in IsAArch64() 44 return triple_ == Triple::TRIPLE_AMD64; in IsAmd64() 54 return triple_; in GetTriple() 105 Triple triple_; member in panda::panda::ecmascript::kungfu::CompilationConfig
|
H A D | pass_manager.h | 128 : compilationEnv_(env), triple_(triple), optLevel_(optLevel), relocMode_(relocMode), log_(log), in PassManager() 146 std::string triple_ {};
|
H A D | pass_manager.cpp | 69 triple_, in Compile() 90 ctx_ = new PassContext(triple_, log_, collector_, m->GetModule(), &profilerDecoder_); in Compile() 276 triple_, 289 PassContext ctx(triple_, log_, &collector, m->GetModule(), &profilerDecoder_);
|
H A D | aot_compiler.cpp | 196 cOptions.triple_, in Main() 217 AOTFileGenerator generator(&log, &logList, &aotCompilationEnv, cOptions.triple_, isEnableLiteCG); in Main()
|
H A D | aot_compiler_preprocessor.cpp | 33 triple_ = runtimeOptions.GetTargetTriple(); in CompilationOptions() 229 AOTFileGenerator generator(&log, &logList, &aotCompilationEnv, cOptions.triple_, false); in AnalyzeGraph() 232 Module *m = generator.AddModule("", cOptions.triple_, lOptions, false); in AnalyzeGraph() 233 PassContext ctx(cOptions.triple_, &log, &collector, m->GetModule(), &profilerDecoder); in AnalyzeGraph()
|
H A D | jit_compiler.h | 40 std::string triple_; member
|
H A D | compilation_driver.h | 127 std::string triple_ {};
|
H A D | aot_compiler_preprocessor.h | 59 std::string triple_; member
|
H A D | circuit_builder_helper.cpp | 22 : tripleStr_(triple), triple_(GetTripleFromString(triple)) in CompilationConfig()
|