Home
last modified time | relevance | path

Searched refs:triple (Results 1 - 25 of 38) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/stackmap/
H A Dark_stackmap_builder.h69 uintptr_t hostCodeSectionAddr, Triple triple);
71 CGStackMapInfo &stackMapInfo, Triple triple);
93 ARKCallsiteAOTFileInfo &result, Triple triple);
94 void SaveArkDeopt(const ARKCallsiteAOTFileInfo& info, BinaryBufferWriter& writer, Triple triple);
95 void SaveArkStackMap(const ARKCallsiteAOTFileInfo& info, BinaryBufferWriter& writer, Triple triple);
97 const ARKCallsiteAOTFileInfo& info, Triple triple);
100 std::pair<uint32_t, std::vector<ARKDeopt>> &sizeAndArkDeopt, Triple triple);
H A Dark_stackmap_builder.cpp58 uintptr_t hostCodeSectionAddr, Triple triple) in Run()
67 std::pair<std::shared_ptr<uint8_t>, uint32_t> info = GenerateArkStackMap(stackMapInfo, triple); in Run()
87 CGStackMapInfo &stackMapInfo, Triple triple) in GenerateArkStackMap()
90 GenArkCallsiteAOTFileInfo(stackMapInfo, AOTFileInfo, triple); in GenerateArkStackMap()
97 SaveArkCallsiteAOTFileInfo(ptr.get(), secSize, AOTFileInfo, triple); in GenerateArkStackMap()
104 void ArkStackMapBuilder::SaveArkStackMap(const ARKCallsiteAOTFileInfo& info, BinaryBufferWriter& writer, Triple triple) in SaveArkStackMap() argument
120 LLVMStackMapType::EncodeRegAndOffset(regOffset, regOffsetSize, reg, offset, triple); in SaveArkStackMap()
124 ASSERT((callSite.head.stackmapOffsetInSMSec + callSite.CalStackMapSize(triple)) == writer.GetOffset()); in SaveArkStackMap()
131 void ArkStackMapBuilder::SaveArkDeopt(const ARKCallsiteAOTFileInfo& info, BinaryBufferWriter& writer, Triple triple) in SaveArkDeopt() argument
165 LLVMStackMapType::EncodeRegAndOffset(regOffset, regOffsetSize, v.first, v.second, triple); in SaveArkDeopt()
57 Run(std::unique_ptr<uint8_t []> stackMapAddr, uintptr_t hostCodeSectionAddr, Triple triple) Run() argument
86 GenerateArkStackMap( CGStackMapInfo &stackMapInfo, Triple triple) GenerateArkStackMap() argument
176 SaveArkCallsiteAOTFileInfo(uint8_t *ptr, uint32_t length, const ARKCallsiteAOTFileInfo& info, Triple triple) SaveArkCallsiteAOTFileInfo() argument
234 GenARKDeopt(const LLVMStackMapType::DeoptInfoType& deopt, std::pair<uint32_t, std::vector<ARKDeopt>> &sizeAndArkDeopt, Triple triple) GenARKDeopt() argument
287 GenArkCallsiteAOTFileInfo(const CGStackMapInfo &stackMapInfo, ARKCallsiteAOTFileInfo &result, Triple triple) GenArkCallsiteAOTFileInfo() argument
[all...]
H A Dark_stackmap.h57 uint32_t CalStackMapSize(Triple triple) const;
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dpass_manager.h42 PassContext(const std::string &triple, CompilerLog *log, BytecodeInfoCollector* collector, IRModule *aotModule,
123 explicit PassManager(CompilationEnv *env, std::string &triple, size_t optLevel, size_t relocMode, in PassManager() argument
128 : compilationEnv_(env), triple_(triple), optLevel_(optLevel), relocMode_(relocMode), log_(log), in PassManager()
164 JitPassManager(JitCompilationEnv *env, std::string &triple, size_t optLevel, size_t relocMode, in JitPassManager() argument
167 : PassManager(env, triple, optLevel, relocMode, log, logList, 1, 1, profilerDecoder, passOptions, in JitPassManager()
H A Dir_module.h31 IRModule(NativeAreaAllocator *allocator, bool logDbg, const std::string &triple) in IRModule() argument
33 tripleStr_ = triple; in IRModule()
H A Dstub_compiler.h27 StubCompiler(std::string &triple, std::string &filePath, size_t optLevel, size_t relocMode, in StubCompiler() argument
29 : triple_(triple), in StubCompiler()
H A Dfile_generators.h184 const std::string &triple, bool useLiteCG = false) in AOTFileGenerator()
185 : FileGenerator(log, logList), compilationEnv_(env), cfg_(triple), useLiteCG_(useLiteCG) {} in AOTFileGenerator()
193 Module* AddModule(const std::string &name, const std::string &triple, LOptions option, bool logDebug,
247 StubFileGenerator(const CompilerLog* log, const MethodLogList* logList, const std::string& triple, in StubFileGenerator() argument
250 cfg_(triple), in StubFileGenerator()
256 Module* AddModule(NativeAreaAllocator *allocator, const std::string &name, const std::string &triple,
183 AOTFileGenerator(const CompilerLog *log, const MethodLogList *logList, CompilationEnv *env, const std::string &triple, bool useLiteCG = false) AOTFileGenerator() argument
H A Dcompilation_driver.h34 const std::string &triple,
140 const std::string &triple, in JitCompilationDriver()
145 : CompilationDriver(profilerDecoder, collector, fileGenerator, fileName, triple, lOptions, in JitCompilationDriver()
136 JitCompilationDriver(PGOProfilerDecoder &profilerDecoder, BytecodeInfoCollector* collector, AOTFileGenerator *fileGenerator, const std::string &fileName, const std::string &triple, LOptions *lOptions, CompilerLog *log, bool outputAsm, size_t maxMethodsInModule) JitCompilationDriver() argument
H A Dcompilation_driver.cpp27 const std::string &triple, in CompilationDriver()
39 triple_(triple), in CompilationDriver()
23 CompilationDriver(PGOProfilerDecoder &profilerDecoder, BytecodeInfoCollector *collector, AOTFileGenerator *fileGenerator, const std::string &fileName, const std::string &triple, LOptions *lOptions, CompilerLog *log, bool outputAsm, size_t maxMethodsInModule) CompilationDriver() argument
H A Dcircuit_builder_helper.h29 explicit CompilationConfig(const std::string &triple, const JSRuntimeOptions *options = nullptr);
88 inline Triple GetTripleFromString(const std::string &triple) in GetTripleFromString() argument
90 if (triple.compare(TARGET_X64) == 0) { in GetTripleFromString()
94 if (triple.compare(TARGET_AARCH64) == 0) { in GetTripleFromString()
98 if (triple.compare(TARGET_ARM32) == 0) { in GetTripleFromString()
H A Dcircuit_builder_helper.cpp21 CompilationConfig::CompilationConfig(const std::string &triple, const JSRuntimeOptions *options) in CompilationConfig() argument
22 : tripleStr_(triple), triple_(GetTripleFromString(triple)) in CompilationConfig()
H A Dstub_compiler.cpp202 std::string triple = runtimeOptions.GetTargetTriple(); in main() local
212 panda::ecmascript::kungfu::StubCompiler compiler(triple, stubFile, optLevel, relocMode, &logOpt, &logList, in main()
/arkcompiler/ets_runtime/ecmascript/stackmap/llvm/
H A Dllvm_stackmap_type.cpp19 DwarfRegType reg, OffsetType offset, Triple triple) in EncodeRegAndOffset()
22 auto fpReg = GCStackMapRegisters::GetFpRegByTriple(triple); in EncodeRegAndOffset()
23 auto spReg = GCStackMapRegisters::GetSpRegByTriple(triple); in EncodeRegAndOffset()
18 EncodeRegAndOffset(std::vector<uint8_t> &regOffset, size_t &regOffsetSize, DwarfRegType reg, OffsetType offset, Triple triple) EncodeRegAndOffset() argument
H A Dllvm_stackmap_parser.cpp231 uint32_t ARKCallsite::CalStackMapSize(Triple triple) const in CalStackMapSize()
237 LLVMStackMapType::EncodeRegAndOffset(value, valueSize, x.first, x.second, triple); in CalStackMapSize()
/arkcompiler/runtime_core/static_core/libllvmbackend/
H A Dtarget_machine_builder.h39 TargetMachineBuilder &SetTriple(llvm::Triple triple) in SetTriple() argument
41 triple_ = std::move(triple); in SetTriple()
H A Dllvm_compiler.cpp210 llvm::Triple triple(llvm::Triple::normalize(tripleName)); in GetTripleForArch()
211 [[maybe_unused]] auto target = llvm::TargetRegistry::lookupTarget("", triple, error); in GetTripleForArch()
213 return triple; in GetTripleForArch()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_driver/include/
H A Dtriple.h57 static Triple triple; in GetTriple() local
58 return triple; in GetTriple()
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/
H A Dassembler.h54 static int GetFpRegByTriple(Triple triple) in GetFpRegByTriple() argument
57 switch (triple) { in GetFpRegByTriple()
74 static int GetSpRegByTriple(Triple triple) in GetSpRegByTriple() argument
77 switch (triple) { in GetSpRegByTriple()
/arkcompiler/ets_runtime/ecmascript/stackmap/litecg/
H A Dlitecg_stackmap_type.cpp46 std::vector<LLVMStackMapType::Pc2Deopt> &pc2DeoptInfoVec, Triple triple) const in ConvertToLLVMStackMapInfo()
48 auto fpReg = GCStackMapRegisters::GetFpRegByTriple(triple); in ConvertToLLVMStackMapInfo()
H A Dlitecg_stackmap_type.h63 std::vector<LLVMStackMapType::Pc2Deopt> &pc2DeoptInfoVec, Triple triple) const;
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/tests/
H A Dassembler_aarch64_test.cpp66 void InitializeLLVM(std::string triple) in InitializeLLVM() argument
68 if (triple.compare(TARGET_X64) == 0) { in InitializeLLVM()
76 } else if (triple.compare(TARGET_AARCH64) == 0) { in InitializeLLVM()
89 void DisassembleChunk(const char *triple, Assembler *assemlber, std::ostream &os) in DisassembleChunk() argument
91 LLVMDisasmContextRef dcr = LLVMCreateDisasm(triple, nullptr, 0, nullptr, SymbolLookupCallback); in DisassembleChunk()
H A Dassembler_x64_test.cpp71 void InitializeLLVM(std::string triple) in InitializeLLVM() argument
73 if (triple.compare(TARGET_X64) == 0) { in InitializeLLVM()
81 } else if (triple.compare(TARGET_AARCH64) == 0) { in InitializeLLVM()
94 void DisassembleChunk(const char *triple, Assembler *assemlber, std::ostream &os) in DisassembleChunk() argument
96 LLVMDisasmContextRef dcr = LLVMCreateDisasm(triple, nullptr, 0, nullptr, SymbolLookupCallback); in DisassembleChunk()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Dstub_file_info.cpp26 void StubFileInfo::Save(const std::string &filename, Triple triple) in Save() argument
52 builder.PackELFHeader(header, base::FileHeaderBase::ToVersionNumber(AOTFileVersion::AN_VERSION), triple); in Save()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_ir_builder.h102 LLVMModule(NativeAreaAllocator* allocator, const std::string &name, bool logDbg, const std::string &triple);
284 static void RegisterTargetBuilder(const std::string& triple, const std::function<LLVMTargetBuilder*()>& creator) in RegisterTargetBuilder() argument
286 GlobalTargetBuilders().emplace(triple, creator); in RegisterTargetBuilder()
H A Dllvm_codegen.cpp533 std::string triple(LLVMGetTarget(module_)); in Initialize()
534 if (triple.compare(TARGET_X64) == 0) { in Initialize()
544 } else if (triple.compare(TARGET_AARCH64) == 0) { in Initialize()
649 const std::string& triple, uint8_t *buf, size_t size) in GetCalleeReg2Offset()
652 LLVMSetTarget(module, triple.c_str()); in GetCalleeReg2Offset()
655 LOG_COMPILER(ERROR) << "ERROR: Couldn't create disassembler for triple!"; in GetCalleeReg2Offset()
648 Disassemble(const std::map<uintptr_t, std::string> *addr2name, const std::string& triple, uint8_t *buf, size_t size) GetCalleeReg2Offset() argument

Completed in 13 milliseconds

12