Home
last modified time | relevance | path

Searched refs:JumpTable (Results 1 - 25 of 56) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceSwitchLowering.cpp78 auto *JumpTable = in clusterizeSwitch() local
84 JumpTable->addTarget(I - MinValue, Case.Target); in clusterizeSwitch()
85 JumpTable->addTarget(Case.High - MinValue, Case.Target); in clusterizeSwitch()
88 Func->addJumpTable(JumpTable); in clusterizeSwitch()
91 CaseClusters.emplace_back(MinValue, MaxValue, JumpTable); in clusterizeSwitch()
H A DIceSwitchLowering.h36 JumpTable, /// Different targets and possibly sparse. enumerator
47 : Kind(JumpTable), Low(Low), High(High), JT(JT) {} in CaseCluster()
57 assert(Kind == JumpTable); in getJumpTable()
H A DIceCfg.h140 void addJumpTable(InstJumpTable *JumpTable) { in addJumpTable() argument
141 JumpTables.emplace_back(JumpTable); in addJumpTable()
H A DIceCfg.cpp1642 for (const InstJumpTable *JumpTable : JumpTables) { in emitJumpTables()
1643 Ctx->addJumpTableData(JumpTable->toJumpTableData(getAssembler())); in emitJumpTables()
1648 for (const InstJumpTable *JumpTable : JumpTables) in emitJumpTables()
1649 getTarget()->emitJumpTable(this, JumpTable); in emitJumpTables()
H A DIceGlobalContext.h272 /// Adds JumpTable to the list of know jump tables, for a posteriori emission.
273 void addJumpTableData(JumpTableData JumpTable);
H A DIceTargetLowering.h312 const InstJumpTable *JumpTable) const = 0;
H A DIceGlobalContext.cpp824 void GlobalContext::addJumpTableData(JumpTableData JumpTable) { in addJumpTableData() argument
825 getJumpTableList()->emplace_back(std::move(JumpTable)); in addJumpTableData()
H A DIceInst.cpp107 X(JumpTable, "jumptable"); in getInstName()
591 : InstHighLevel(Func, Inst::JumpTable, 1, nullptr), in InstJumpTable()
H A DIceInst.h70 JumpTable, // not part of LLVM/PNaCl bitcode enumerator
1021 /// JumpTable instruction. This represents a jump table that will be stored in
1048 return Instr->getKind() == JumpTable;
1078 GlobalString Name; // This JumpTable's name in the output.
H A DIceTargetLoweringX8632.cpp6512 case CaseCluster::JumpTable: { in lowerCaseCluster()
6525 InstJumpTable *JumpTable = Case.getJumpTable(); in lowerCaseCluster() local
6526 Context.insert(JumpTable); in lowerCaseCluster()
6543 auto JTName = GlobalString::createWithString(Ctx, JumpTable->getName()); in lowerCaseCluster()
7616 const InstJumpTable *JumpTable) const { in emitJumpTable()
7620 Str << "\t.section\t.rodata." << JumpTable->getSectionName() in emitJumpTable()
7624 << JumpTable->getName() << ":"; in emitJumpTable()
7626 for (SizeT I = 0; I < JumpTable->getNumTargets(); ++I) in emitJumpTable()
7627 Str << "\n\t.long\t" << JumpTable->getTarget(I)->getAsmName(); in emitJumpTable()
H A DIceTargetLoweringX8664.cpp5890 case CaseCluster::JumpTable: { in lowerCaseCluster()
5903 InstJumpTable *JumpTable = Case.getJumpTable(); in lowerCaseCluster() local
5904 Context.insert(JumpTable); in lowerCaseCluster()
5924 auto JTName = GlobalString::createWithString(Ctx, JumpTable->getName()); in lowerCaseCluster()
6889 const InstJumpTable *JumpTable) const { in emitJumpTable()
6893 Str << "\t.section\t.rodata." << JumpTable->getSectionName() in emitJumpTable()
6897 << JumpTable->getName() << ":"; in emitJumpTable()
6899 for (SizeT I = 0; I < JumpTable->getNumTargets(); ++I) in emitJumpTable()
6900 Str << "\n\t.var\t" << JumpTable->getTarget(I)->getAsmName(); in emitJumpTable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DPseudoSourceValue.h41 JumpTable,
72 bool isJumpTable() const { return Kind == JumpTable; } in isJumpTable()
H A DSwitchLoweringUtils.h160 struct JumpTable { struct
172 JumpTable(unsigned R, unsigned J, MachineBasicBlock *M, MachineBasicBlock *D) in JumpTable() function
188 using JumpTableBlock = std::pair<JumpTableHeader, JumpTable>;
259 /// Vector of JumpTable structures used to communicate SwitchInst code
H A DISDOpcodes.h64 JumpTable, ConstantPool, ExternalSymbol, BlockAddress, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DPseudoSourceValue.cpp24 "Stack", "GOT", "JumpTable", "ConstantPool", "FixedStack",
111 JumpTablePSV(PseudoSourceValue::JumpTable, TII), in PseudoSourceValueManager()
H A DSwitchLoweringUtils.cpp251 JumpTable JT(-1U, JTI, JumpTableMBB, nullptr); in buildJumpTable()
268 // Clusters must be sorted and contain Range or JumpTable clusters. in findBitTestClusters()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
H A DTargetOptions.h39 namespace JumpTable { namespace
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DForceFunctionAttrs.cpp36 .Case("jumptable", Attribute::JumpTable) in parseAttrKind()
H A DLowerTypeTests.cpp1497 auto JumpTable = in buildBitSetsFromFunctionsNative() local
1500 lowerTypeTestCalls(TypeIds, JumpTable, GlobalLayout); in buildBitSetsFromFunctionsNative()
1513 JumpTableType, JumpTable, in buildBitSetsFromFunctionsNative()
/third_party/node/deps/v8/src/compiler/backend/
H A Dcode-generator.cc27 class CodeGenerator::JumpTable final : public ZoneObject {
29 JumpTable(JumpTable* next, Label** targets, size_t target_count) in JumpTable() function in v8::internal::compiler::final
33 JumpTable* next() const { return next_; } in next()
39 JumpTable* const next_;
385 for (JumpTable* table = jump_tables_; table; table = table->next()) { in AssembleCode()
952 jump_tables_ = zone()->New<JumpTable>(jump_tables_, targets, target_count); in AddJumpTable()
H A Dcode-generator.h358 class JumpTable;
459 JumpTable* jump_tables_;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h295 bool emitJumpTableHeader(SwitchCG::JumpTable &JT,
298 void emitJumpTable(SwitchCG::JumpTable &JT, MachineBasicBlock *MBB);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h678 void visitJumpTable(SwitchCG::JumpTable &JT);
679 void visitJumpTableHeader(SwitchCG::JumpTable &JT,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
H A DARCISelLowering.cpp120 setOperationAction(ISD::JumpTable, MVT::i32, Custom); in ARCTargetLowering()
759 case ISD::JumpTable: in LowerOperation()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp508 void IRTranslator::emitJumpTable(SwitchCG::JumpTable &JT, in emitJumpTable()
523 bool IRTranslator::emitJumpTableHeader(SwitchCG::JumpTable &JT, in emitJumpTableHeader()
657 SwitchCG::JumpTable *JT = &SL->JTCases[I->JTCasesIndex].second; in lowerJumpTableWorkItem()

Completed in 56 milliseconds

123