/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMJITInfo.h | 132 intptr_t getJumpTableBaseAddr(unsigned JTI) const { in getJumpTableBaseAddr() argument 133 assert(JTI < JumpTableId2AddrMap.size()); in getJumpTableBaseAddr() 134 return JumpTableId2AddrMap[JTI]; in getJumpTableBaseAddr() 141 void addJumpTableBaseAddr(unsigned JTI, intptr_t Addr) { in addJumpTableBaseAddr() argument 142 assert(JTI < JumpTableId2AddrMap.size()); in addJumpTableBaseAddr() 143 JumpTableId2AddrMap[JTI] = Addr; in addJumpTableBaseAddr()
|
D | ARMConstantIslandPass.cpp | 1714 unsigned JTI = JTOP.getIndex(); in OptimizeThumb2JumpTables() local 1715 assert(JTI < JT.size()); in OptimizeThumb2JumpTables() 1720 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in OptimizeThumb2JumpTables() 1797 .addJumpTableIndex(JTI, JTOP.getTargetFlags()) in OptimizeThumb2JumpTables() 1837 unsigned JTI = JTOP.getIndex(); in ReorderThumb2JumpTables() local 1838 assert(JTI < JT.size()); in ReorderThumb2JumpTables() 1844 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in ReorderThumb2JumpTables() 1855 MJTI->ReplaceMBBInJumpTable(JTI, JTBBs[j], NewBB); in ReorderThumb2JumpTables()
|
D | ARMCodeEmitter.cpp | 48 ARMJITInfo *JTI; member in __anon6238cde10111::ARMCodeEmitter 68 : MachineFunctionPass(ID), JTI(0), in ARMCodeEmitter() 369 JTI = ((ARMTargetMachine &)MF.getTarget()).getJITInfo(); in runOnMachineFunction() 378 JTI->Initialize(MF, IsPIC); in runOnMachineFunction() 627 JTI->addConstantPoolEntryAddr(CPI, MCE.getCurrentPCValue()); in emitConstPoolInstruction() 831 JTI->addPCLabelAddr(LabelID, MCE.getCurrentPCValue()); in addPCLabel() 1488 JTI->addJumpTableBaseAddr(JTIndex, JTBase); in emitInlineJumpTable()
|
D | ARMAsmPrinter.cpp | 908 unsigned JTI = MO1.getIndex(); in EmitJumpTable() local 914 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel2(JTI, MO2.getImm()); in EmitJumpTable() 920 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in EmitJumpTable() 952 unsigned JTI = MO1.getIndex(); in EmitJump2Table() local 963 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel2(JTI, MO2.getImm()); in EmitJump2Table() 969 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in EmitJump2Table()
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsCodeEmitter.cpp | 49 MipsJITInfo *JTI; member in __anon627df2d30111::MipsCodeEmitter 68 MachineFunctionPass(ID), JTI(0), in MipsCodeEmitter() 117 JTI = ((MipsTargetMachine&) MF.getTarget()).getJITInfo(); in runOnMachineFunction() 124 JTI->Initialize(MF, IsPIC); in runOnMachineFunction()
|
/external/llvm/test/CodeGen/Mips/ |
D | jtstat.ll | 59 ; CHECK-STATIC16: li ${{[0-9]+}}, %hi($JTI{{[0-9]+}}_{{[0-9]+}}) 60 ; CHECK-STATIC16: lw ${{[0-9]+}}, %lo($JTI{{[0-9]+}}_{{[0-9]+}})(${{[0-9]+}}) 61 ; CHECK-STATIC16: $JTI{{[0-9]+}}_{{[0-9]+}}:
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/ |
D | jtstat.ll | 59 ; CHECK-STATIC16: li ${{[0-9]+}}, %hi($JTI{{[0-9]+}}_{{[0-9]+}}) 60 ; CHECK-STATIC16: lw ${{[0-9]+}}, %lo($JTI{{[0-9]+}}_{{[0-9]+}})(${{[0-9]+}}) 61 ; CHECK-STATIC16: $JTI{{[0-9]+}}_{{[0-9]+}}:
|
/external/llvm/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 640 unsigned JTI = JTOp.getIndex(); in doInitialJumpTablePlacement() local 641 unsigned Size = JT[JTI].MBBs.size() * sizeof(uint32_t); in doInitialJumpTablePlacement() 647 .addJumpTableIndex(JTI) in doInitialJumpTablePlacement() 650 CPEntries.emplace_back(1, CPEntry(CPEMI, JTI)); in doInitialJumpTablePlacement() 651 JumpTableEntryIndices.insert(std::make_pair(JTI, CPEntries.size() - 1)); in doInitialJumpTablePlacement() 2121 unsigned JTI = JTOP.getIndex(); in optimizeThumb2JumpTables() local 2122 assert(JTI < JT.size()); in optimizeThumb2JumpTables() 2127 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in optimizeThumb2JumpTables() 2151 CPUser &User = CPUsers[JumpTableUserIndices[JTI]]; in optimizeThumb2JumpTables() 2170 .addJumpTableIndex(JTI, JTOP.getTargetFlags()) in optimizeThumb2JumpTables() [all …]
|
D | ARMAsmPrinter.cpp | 1010 unsigned JTI = MO1.getIndex(); in EmitJumpTableAddrs() local 1017 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI); in EmitJumpTableAddrs() 1026 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in EmitJumpTableAddrs() 1057 unsigned JTI = MO1.getIndex(); in EmitJumpTableInsts() local 1059 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI); in EmitJumpTableInsts() 1065 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in EmitJumpTableInsts() 1083 unsigned JTI = MO1.getIndex(); in EmitJumpTableTBInst() local 1085 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI); in EmitJumpTableTBInst() 1091 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in EmitJumpTableTBInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 587 unsigned JTI = JTOp.getIndex(); in doInitialJumpTablePlacement() local 588 unsigned Size = JT[JTI].MBBs.size() * sizeof(uint32_t); in doInitialJumpTablePlacement() 594 .addJumpTableIndex(JTI) in doInitialJumpTablePlacement() 597 CPEntries.emplace_back(1, CPEntry(CPEMI, JTI)); in doInitialJumpTablePlacement() 598 JumpTableEntryIndices.insert(std::make_pair(JTI, CPEntries.size() - 1)); in doInitialJumpTablePlacement() 2099 unsigned JTI = JTOP.getIndex(); in optimizeThumb2JumpTables() local 2100 assert(JTI < JT.size()); in optimizeThumb2JumpTables() 2105 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in optimizeThumb2JumpTables() 2123 CPUser &User = CPUsers[JumpTableUserIndices[JTI]]; in optimizeThumb2JumpTables() 2225 .addJumpTableIndex(JTI, JTOP.getTargetFlags()) in optimizeThumb2JumpTables() [all …]
|
D | ARMAsmPrinter.cpp | 914 unsigned JTI = MO1.getIndex(); in EmitJumpTableAddrs() local 921 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI); in EmitJumpTableAddrs() 930 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in EmitJumpTableAddrs() 960 unsigned JTI = MO1.getIndex(); in EmitJumpTableInsts() local 967 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI); in EmitJumpTableInsts() 973 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in EmitJumpTableInsts() 990 unsigned JTI = MO1.getIndex(); in EmitJumpTableTBInst() local 995 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI); in EmitJumpTableTBInst() 1001 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in EmitJumpTableTBInst()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineRelocation.h | 179 unsigned JTI, intptr_t cst = 0, 190 Result.Target.Index = JTI;
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1072 for (unsigned JTI = 0, e = JT.size(); JTI != e; ++JTI) { in EmitJumpTableInfo() local 1073 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in EmitJumpTableInfo() 1085 const MCExpr *Base = TLI->getPICJumpTableRelocBaseExpr(MF,JTI,OutContext); in EmitJumpTableInfo() 1093 OutStreamer.EmitAssignment(GetJTSetSymbol(JTI, MBB->getNumber()), in EmitJumpTableInfo() 1105 OutStreamer.EmitLabel(GetJTISymbol(JTI, true)); in EmitJumpTableInfo() 1107 OutStreamer.EmitLabel(GetJTISymbol(JTI)); in EmitJumpTableInfo() 1110 EmitJumpTableEntry(MJTI, JTBBs[ii], JTI); in EmitJumpTableInfo() 1162 const MCExpr *JTI = MCSymbolRefExpr::Create(GetJTISymbol(UID), OutContext); in EmitJumpTableEntry() local 1163 Value = MCBinaryExpr::CreateSub(Value, JTI, OutContext); in EmitJumpTableEntry()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/ |
D | XCoreAsmPrinter.cpp | 190 unsigned JTI = MI->getOperand(opNum).getIndex(); in printInlineJT() local 194 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in printInlineJT()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreAsmPrinter.cpp | 194 unsigned JTI = MI->getOperand(opNum).getIndex(); in printInlineJT() local 198 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in printInlineJT()
|
/external/swiftshader/third_party/LLVM/lib/Target/XCore/ |
D | XCoreAsmPrinter.cpp | 209 unsigned JTI = MI->getOperand(opNum).getIndex(); in printInlineJT() local 213 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in printInlineJT()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86CodeEmitter.cpp | 87 void emitJumpTableAddress(unsigned JTI, unsigned Reloc, 331 void Emitter<CodeEmitter>::emitJumpTableAddress(unsigned JTI, unsigned Reloc, in emitJumpTableAddress() argument 339 Reloc, JTI, RelocCST)); in emitJumpTableAddress() 764 X86JITInfo *JTI = TM.getJITInfo(); in emitInstruction() local 765 JTI->setPICBase(MCE.getCurrentPCValue()); in emitInstruction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MIRPrinter.cpp | 128 const MachineJumpTableInfo &JTI); 473 const MachineJumpTableInfo &JTI) { in convert() argument 474 YamlJTI.Kind = JTI.getEntryKind(); in convert() 476 for (const auto &Table : JTI.getJumpTables()) { in convert()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | MachineFunction.cpp | 406 MCSymbol *MachineFunction::getJTISymbol(unsigned JTI, MCContext &Ctx, in getJTISymbol() argument 410 assert(JTI < JumpTableInfo->getJumpTables().size() && "Invalid JTI!"); in getJTISymbol() 417 << Prefix << "JTI" << getFunctionNumber() << '_' << JTI; in getJTISymbol()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1406 for (unsigned JTI = 0, e = JT.size(); JTI != e; ++JTI) { in EmitJumpTableInfo() local 1407 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in EmitJumpTableInfo() 1418 const MCExpr *Base = TLI->getPICJumpTableRelocBaseExpr(MF,JTI,OutContext); in EmitJumpTableInfo() 1427 OutStreamer->EmitAssignment(GetJTSetSymbol(JTI, MBB->getNumber()), in EmitJumpTableInfo() 1440 OutStreamer->EmitLabel(GetJTISymbol(JTI, true)); in EmitJumpTableInfo() 1442 OutStreamer->EmitLabel(GetJTISymbol(JTI)); in EmitJumpTableInfo() 1445 EmitJumpTableEntry(MJTI, JTBBs[ii], JTI); in EmitJumpTableInfo()
|
/external/llvm/test/CodeGen/Hexagon/ |
D | block-addr.ll | 3 ; Allow combine(..##JTI..):
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1709 for (unsigned JTI = 0, e = JT.size(); JTI != e; ++JTI) { in EmitJumpTableInfo() local 1710 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in EmitJumpTableInfo() 1721 const MCExpr *Base = TLI->getPICJumpTableRelocBaseExpr(MF,JTI,OutContext); in EmitJumpTableInfo() 1730 OutStreamer->EmitAssignment(GetJTSetSymbol(JTI, MBB->getNumber()), in EmitJumpTableInfo() 1743 OutStreamer->EmitLabel(GetJTISymbol(JTI, true)); in EmitJumpTableInfo() 1745 OutStreamer->EmitLabel(GetJTISymbol(JTI)); in EmitJumpTableInfo() 1748 EmitJumpTableEntry(MJTI, JTBBs[ii], JTI); in EmitJumpTableInfo()
|
/external/llvm/lib/CodeGen/ |
D | MIRPrinter.cpp | 88 const MachineJumpTableInfo &JTI); 408 const MachineJumpTableInfo &JTI) { in convert() argument 409 YamlJTI.Kind = JTI.getEntryKind(); in convert() 411 for (const auto &Table : JTI.getJumpTables()) { in convert()
|
D | MachineFunction.cpp | 537 MCSymbol *MachineFunction::getJTISymbol(unsigned JTI, MCContext &Ctx, in getJTISymbol() argument 541 assert(JTI < JumpTableInfo->getJumpTables().size() && "Invalid JTI!"); in getJTISymbol() 547 << Prefix << "JTI" << getFunctionNumber() << '_' << JTI; in getJTISymbol()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 235 MachineBasicBlock *D): Reg(R), JTI(J), MBB(M), Default(D) {} in JumpTable() 241 unsigned JTI; member
|