Home
last modified time | relevance | path

Searched refs:JTI (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm/lib/Target/ARM/
DARMJITInfo.h132 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()
DARMConstantIslandPass.cpp1856 unsigned JTI = JTOP.getIndex(); in optimizeThumb2JumpTables() local
1857 assert(JTI < JT.size()); in optimizeThumb2JumpTables()
1862 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in optimizeThumb2JumpTables()
1941 .addJumpTableIndex(JTI, JTOP.getTargetFlags()) in optimizeThumb2JumpTables()
1982 unsigned JTI = JTOP.getIndex(); in reorderThumb2JumpTables() local
1983 assert(JTI < JT.size()); in reorderThumb2JumpTables()
1989 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in reorderThumb2JumpTables()
2000 MJTI->ReplaceMBBInJumpTable(JTI, JTBBs[j], NewBB); in reorderThumb2JumpTables()
DARMCodeEmitter.cpp48 ARMJITInfo *JTI; member in __anonee9ea9320111::ARMCodeEmitter
68 : MachineFunctionPass(ID), JTI(0), in ARMCodeEmitter()
401 JTI = static_cast<ARMJITInfo*>(Target.getJITInfo()); in runOnMachineFunction()
411 JTI->Initialize(MF, IsPIC); in runOnMachineFunction()
712 JTI->addConstantPoolEntryAddr(CPI, MCE.getCurrentPCValue()); in emitConstPoolInstruction()
914 JTI->addPCLabelAddr(LabelID, MCE.getCurrentPCValue()); in addPCLabel()
1603 JTI->addJumpTableBaseAddr(JTIndex, JTBase); in emitInlineJumpTable()
DARMAsmPrinter.cpp993 unsigned JTI = MO1.getIndex(); in EmitJumpTable() local
996 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel2(JTI, MO2.getImm()); in EmitJumpTable()
1005 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in EmitJumpTable()
1039 unsigned JTI = MO1.getIndex(); in EmitJump2Table() local
1041 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel2(JTI, MO2.getImm()); in EmitJump2Table()
1047 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in EmitJump2Table()
DARMBaseInstrInfo.cpp543 unsigned JTI);
545 unsigned JTI) { in getNumJTEntries() argument
546 assert(JTI < JT.size()); in getNumJTEntries()
547 return JT[JTI].MBBs.size(); in getNumJTEntries()
614 unsigned JTI = JTOP.getIndex(); in GetInstSizeInBytes() local
618 assert(JTI < JT.size()); in GetInstSizeInBytes()
627 unsigned NumEntries = getNumJTEntries(JT, JTI); in GetInstSizeInBytes()
DARMISelLowering.cpp3193 SDValue JTI = DAG.getTargetJumpTable(JT->getIndex(), PTy); in LowerBR_JT() local
3194 Table = DAG.getNode(ARMISD::WrapperJT, dl, MVT::i32, JTI, UId); in LowerBR_JT()
3203 Addr, Op.getOperand(2), JTI, UId); in LowerBR_JT()
3211 return DAG.getNode(ARMISD::BR_JT, dl, MVT::Other, Chain, Addr, JTI, UId); in LowerBR_JT()
3217 return DAG.getNode(ARMISD::BR_JT, dl, MVT::Other, Chain, Addr, JTI, UId); in LowerBR_JT()
6350 MachineJumpTableInfo *JTI = in EmitSjLjDispatchBlock() local
6352 unsigned MJTI = JTI->createJumpTableIndex(LPadList); in EmitSjLjDispatchBlock()
/external/llvm/test/CodeGen/Mips/
Djtstat.ll59 ; 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/Mips/
DMipsCodeEmitter.cpp49 MipsJITInfo *JTI; member in __anon9fc7e6640111::MipsCodeEmitter
68 : MachineFunctionPass(ID), JTI(0), in MipsCodeEmitter()
130 JTI = Target.getJITInfo(); in runOnMachineFunction()
137 JTI->Initialize(MF, IsPIC, Subtarget->isLittle()); in runOnMachineFunction()
/external/llvm/include/llvm/CodeGen/
DMachineRelocation.h179 unsigned JTI, intptr_t cst = 0,
190 Result.Target.Index = JTI;
DMachineFunction.h455 MCSymbol *getJTISymbol(unsigned JTI, MCContext &Ctx,
DSelectionDAG.h401 SDValue getJumpTable(int JTI, EVT VT, bool isTarget = false,
403 SDValue getTargetJumpTable(int JTI, EVT VT, unsigned char TargetFlags = 0) {
404 return getJumpTable(JTI, VT, true, TargetFlags);
DSelectionDAGNodes.h1269 int JTI;
1274 DebugLoc(), getSDVTList(VT)), JTI(jti), TargetFlags(TF) {
1278 int getIndex() const { return JTI; }
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1096 for (unsigned JTI = 0, e = JT.size(); JTI != e; ++JTI) { in EmitJumpTableInfo() local
1097 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in EmitJumpTableInfo()
1109 const MCExpr *Base = TLI->getPICJumpTableRelocBaseExpr(MF,JTI,OutContext); in EmitJumpTableInfo()
1117 OutStreamer.EmitAssignment(GetJTSetSymbol(JTI, MBB->getNumber()), in EmitJumpTableInfo()
1129 OutStreamer.EmitLabel(GetJTISymbol(JTI, true)); in EmitJumpTableInfo()
1131 OutStreamer.EmitLabel(GetJTISymbol(JTI)); in EmitJumpTableInfo()
1134 EmitJumpTableEntry(MJTI, JTBBs[ii], JTI); in EmitJumpTableInfo()
1197 const MCExpr *JTI = MCSymbolRefExpr::Create(GetJTISymbol(UID), OutContext); in EmitJumpTableEntry() local
1198 Value = MCBinaryExpr::CreateSub(Value, JTI, OutContext); in EmitJumpTableEntry()
/external/llvm/lib/Target/XCore/
DXCoreAsmPrinter.cpp202 unsigned JTI = MI->getOperand(opNum).getIndex(); in printInlineJT() local
206 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in printInlineJT()
DXCoreISelLowering.cpp337 unsigned JTI = JT->getIndex(); in LowerBR_JT() local
342 unsigned NumEntries = MJTI->getJumpTables()[JTI].MBBs.size(); in LowerBR_JT()
/external/llvm/lib/CodeGen/
DMachineFunction.cpp433 MCSymbol *MachineFunction::getJTISymbol(unsigned JTI, MCContext &Ctx, in getJTISymbol() argument
436 assert(JTI < JumpTableInfo->getJumpTables().size() && "Invalid JTI!"); in getJTISymbol()
443 << Prefix << "JTI" << getFunctionNumber() << '_' << JTI; in getJTISymbol()
DBranchFolding.cpp215 MachineJumpTableInfo *JTI = MF.getJumpTableInfo(); in OptimizeFunction() local
216 if (JTI == 0) { in OptimizeFunction()
222 BitVector JTIsLive(JTI->getJumpTables().size()); in OptimizeFunction()
240 JTI->RemoveJumpTable(i); in OptimizeFunction()
/external/llvm/lib/Target/X86/
DX86CodeEmitter.cpp98 void emitJumpTableAddress(unsigned JTI, unsigned Reloc,
349 void Emitter<CodeEmitter>::emitJumpTableAddress(unsigned JTI, unsigned Reloc, in emitJumpTableAddress() argument
357 Reloc, JTI, RelocCST)); in emitJumpTableAddress()
1203 X86JITInfo *JTI = TM.getJITInfo(); in emitInstruction() local
1204 JTI->setPICBase(MCE.getCurrentPCValue()); in emitInstruction()
DX86ISelLowering.h487 unsigned JTI, MCContext &Ctx) const;
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h226 MachineBasicBlock *D): Reg(R), JTI(J), MBB(M), Default(D) {} in JumpTable()
232 unsigned JTI; member
DTargetLowering.cpp233 unsigned JTI,MCContext &Ctx) const{ in getPICJumpTableRelocBaseExpr() argument
235 return MCSymbolRefExpr::Create(MF->getJTISymbol(JTI, Ctx), Ctx); in getPICJumpTableRelocBaseExpr()
DSelectionDAG.cpp1137 SDValue SelectionDAG::getJumpTable(int JTI, EVT VT, bool isTarget, in getJumpTable() argument
1144 ID.AddInteger(JTI); in getJumpTable()
1150 SDNode *N = new (NodeAllocator) JumpTableSDNode(JTI, VT, isTarget, in getJumpTable()
/external/llvm/lib/Target/MBlaze/
DMBlazeISelLowering.cpp619 SDValue JTI = DAG.getTargetJumpTable(JT->getIndex(), PtrVT, 0); in LowerJumpTable() local
620 return DAG.getNode(MBlazeISD::Wrap, dl, MVT::i32, JTI); in LowerJumpTable()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp735 unsigned JTI = JT->getIndex(); in LowerBR_JT() local
742 const std::vector<MachineBasicBlock*> &JTBBs = JTE[JTI].MBBs; in LowerBR_JT()
/external/llvm/include/llvm/Target/
DTargetLowering.h1720 unsigned JTI, MCContext &Ctx) const;

12