Home
last modified time | relevance | path

Searched refs:BranchTarget (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm-project/llvm/tools/llvm-cfi-verify/lib/
DGraphBuilder.cpp256 uint64_t BranchTarget; in buildFlowGraphImpl() local
259 ParentMeta.InstructionSize, BranchTarget)) { in buildFlowGraphImpl()
270 if (BranchTarget != Address) { in buildFlowGraphImpl()
303 BranchNode.IndirectCFIsOnTargetPath = (BranchTarget == Address); in buildFlowGraphImpl()
305 if (BranchTarget == Address) in buildFlowGraphImpl()
/external/mesa3d/src/mesa/program/
Dprog_execute.c445 assert(program->arb.Instructions[inst->BranchTarget].Opcode in _mesa_execute_program()
450 assert(program->arb.Instructions[inst->BranchTarget].Opcode in _mesa_execute_program()
452 pc = inst->BranchTarget - 1; /* go to matching BNGLOOP */ in _mesa_execute_program()
459 assert(program->arb.Instructions[inst->BranchTarget].Opcode in _mesa_execute_program()
463 pc = inst->BranchTarget; in _mesa_execute_program()
466 assert(program->arb.Instructions[inst->BranchTarget].Opcode in _mesa_execute_program()
470 pc = inst->BranchTarget - 1; in _mesa_execute_program()
479 pc = inst->BranchTarget - 1; in _mesa_execute_program()
649 assert(program->arb.Instructions[inst->BranchTarget].Opcode in _mesa_execute_program()
651 program->arb.Instructions[inst->BranchTarget].Opcode in _mesa_execute_program()
[all …]
Dprogram.c358 if (inst->BranchTarget > 0) { in _mesa_insert_instructions()
359 if ((GLuint)inst->BranchTarget >= start) { in _mesa_insert_instructions()
360 inst->BranchTarget += count; in _mesa_insert_instructions()
408 if (inst->BranchTarget > 0) { in _mesa_delete_instructions()
409 if (inst->BranchTarget > (GLint) start) { in _mesa_delete_instructions()
410 inst->BranchTarget -= count; in _mesa_delete_instructions()
Dprog_print.c703 fprintf(f, " # (if false, goto %d)", inst->BranchTarget); in _mesa_fprint_instruction_opt()
707 fprintf(f, "ELSE; # (goto %d)\n", inst->BranchTarget); in _mesa_fprint_instruction_opt()
713 fprintf(f, "BGNLOOP; # (end at %d)\n", inst->BranchTarget); in _mesa_fprint_instruction_opt()
716 fprintf(f, "ENDLOOP; # (goto %d)\n", inst->BranchTarget); in _mesa_fprint_instruction_opt()
722 inst->BranchTarget); in _mesa_fprint_instruction_opt()
737 fprintf(f, "CAL %u", inst->BranchTarget); in _mesa_fprint_instruction_opt()
Dprog_instruction.h256 GLint BranchTarget; member
Dir_to_mesa.cpp2239 mesa_instructions[i].BranchTarget = -1; in set_branchtargets()
2256 mesa_instructions[if_stack[if_stack_pos - 1]].BranchTarget = i; in set_branchtargets()
2260 mesa_instructions[if_stack[if_stack_pos - 1]].BranchTarget = i; in set_branchtargets()
2276 if (mesa_instructions[j].BranchTarget == -1) { in set_branchtargets()
2277 mesa_instructions[j].BranchTarget = i; in set_branchtargets()
2282 mesa_instructions[i].BranchTarget = loop_stack[loop_stack_pos]; in set_branchtargets()
2283 mesa_instructions[loop_stack[loop_stack_pos]].BranchTarget = i; in set_branchtargets()
2287 if (entry->sig_id == mesa_instructions[i].BranchTarget) { in set_branchtargets()
2288 mesa_instructions[i].BranchTarget = entry->inst; in set_branchtargets()
Dprog_optimize.c976 loopStack[loopStackDepth].End = inst->BranchTarget; in _mesa_find_temp_intervals()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DMethodGen.java933 static final class BranchTarget { class in MethodGen
939 BranchTarget(final InstructionHandle target, final int stackDepth) { in BranchTarget() method in MethodGen.BranchTarget
947 private final Stack<BranchTarget> branchTargets = new Stack<>();
948 private final Hashtable<InstructionHandle, BranchTarget> visitedTargets = new Hashtable<>();
959 public BranchTarget pop() { in pop()
961 final BranchTarget bt = branchTargets.pop(); in pop()
968 private BranchTarget visit( final InstructionHandle target, final int stackDepth ) { in visit()
969 final BranchTarget bt = new BranchTarget(target, stackDepth); in visit()
1047 final BranchTarget bt = branchTargets.pop(); in getMaxStack()
/external/llvm/lib/Target/X86/InstPrinter/
DX86IntelInstPrinter.cpp132 const MCConstantExpr *BranchTarget = dyn_cast<MCConstantExpr>(Op.getExpr()); in printPCRelImm() local
134 if (BranchTarget && BranchTarget->evaluateAsAbsolute(Address)) { in printPCRelImm()
DX86ATTInstPrinter.cpp151 const MCConstantExpr *BranchTarget = dyn_cast<MCConstantExpr>(Op.getExpr()); in printPCRelImm() local
153 if (BranchTarget && BranchTarget->evaluateAsAbsolute(Address)) { in printPCRelImm()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86InstPrinterCommon.cpp303 const MCConstantExpr *BranchTarget = dyn_cast<MCConstantExpr>(Op.getExpr()); in printPCRelImm() local
305 if (BranchTarget && BranchTarget->evaluateAsAbsolute(Address)) { in printPCRelImm()
/external/llvm-project/llvm/include/llvm/MC/
DMCInstrDesc.h43 BranchTarget enumerator
106 bool isBranchTarget() const { return Flags & (1 << MCOI::BranchTarget); } in isBranchTarget()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCInstrDesc.h44 BranchTarget enumerator
107 bool isBranchTarget() const { return Flags & (1 << MCOI::BranchTarget); } in isBranchTarget()
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
DX86InstPrinterCommon.cpp315 const MCConstantExpr *BranchTarget = dyn_cast<MCConstantExpr>(Op.getExpr()); in printPCRelImm() local
317 if (BranchTarget && BranchTarget->evaluateAsAbsolute(Address)) { in printPCRelImm()
/external/llvm-project/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp1524 const MCExpr *BranchTarget; in emitInstruction() local
1526 BranchTarget = MCSymbolRefExpr::create( in emitInstruction()
1530 BranchTarget = MCSymbolRefExpr::create( in emitInstruction()
1533 BranchTarget = MCSymbolRefExpr::create( in emitInstruction()
1539 MCInst.addExpr(BranchTarget); in emitInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp1479 const MCExpr *BranchTarget; in EmitInstruction() local
1481 BranchTarget = MCSymbolRefExpr::create( in EmitInstruction()
1485 BranchTarget = MCSymbolRefExpr::create( in EmitInstruction()
1488 BranchTarget = MCSymbolRefExpr::create( in EmitInstruction()
1494 MCInst.addExpr(BranchTarget); in EmitInstruction()
/external/llvm/lib/Target/AArch64/InstPrinter/
DAArch64InstPrinter.cpp1369 const MCConstantExpr *BranchTarget = in printAlignedLabel() local
1372 if (BranchTarget && BranchTarget->evaluateAsAbsolute(Address)) { in printAlignedLabel()
/external/llvm/lib/Target/X86/
DX86InstrInfo.h472 const MCSymbolRefExpr *BranchTarget) const override;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64InstPrinter.cpp1350 const MCConstantExpr *BranchTarget = in printAlignedLabel() local
1353 if (BranchTarget && BranchTarget->evaluateAsAbsolute(Address)) { in printAlignedLabel()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp1251 MachineBasicBlock *BranchTarget = LastI->getOperand(1).getMBB(); in convertToHardwareLoop() local
1253 if (!L->contains(BranchTarget)) { in convertToHardwareLoop()
1257 TII->InsertBranch(*LastMBB, BranchTarget, nullptr, Cond, LastIDL); in convertToHardwareLoop()
/external/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64InstPrinter.cpp1369 const MCConstantExpr *BranchTarget = in printAlignedLabel() local
1372 if (BranchTarget && BranchTarget->evaluateAsAbsolute(TargetAddress)) { in printAlignedLabel()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp1289 MachineBasicBlock *BranchTarget = LastI->getOperand(1).getMBB(); in convertToHardwareLoop() local
1291 if (!L->contains(BranchTarget)) { in convertToHardwareLoop()
1295 TII->insertBranch(*LastMBB, BranchTarget, nullptr, Cond, LastIDL); in convertToHardwareLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp1289 MachineBasicBlock *BranchTarget = LastI->getOperand(1).getMBB(); in convertToHardwareLoop() local
1291 if (!L->contains(BranchTarget)) { in convertToHardwareLoop()
1295 TII->insertBranch(*LastMBB, BranchTarget, nullptr, Cond, LastIDL); in convertToHardwareLoop()
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h578 const MCSymbolRefExpr *BranchTarget) const { in getUnconditionalBranch() argument
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp3080 unsigned BranchTarget; in expandDiv() local
3083 BranchTarget = IsMips64 ? 12 : 8; in expandDiv()
3086 BranchTarget = IsMips64 ? 20 : 16; in expandDiv()
3109 TOut.emitRRI(Mips::BNE, RtReg, ATReg, BranchTarget, IDLoc, STI); in expandDiv()
3114 TOut.emitRRI(Mips::BNE, RtReg, ATReg, BranchTarget, IDLoc, STI); in expandDiv()

12