/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/ |
D | LabelInfoTest.java | 39 assertFalse(LabelInfo.isMultiTarget(label)); in testDefaults() 40 assertFalse(LabelInfo.isSuccessor(label)); in testDefaults() 41 assertFalse(LabelInfo.isMethodInvocationLine(label)); in testDefaults() 42 assertFalse(LabelInfo.isDone(label)); in testDefaults() 43 assertEquals(LabelInfo.NO_PROBE, LabelInfo.getProbeId(label)); in testDefaults() 44 assertNull(LabelInfo.getIntermediateLabel(label)); in testDefaults() 45 assertNull(LabelInfo.getInstruction(label)); in testDefaults() 51 assertFalse(LabelInfo.isSuccessor(label)); in testOtherInfoObject() 56 LabelInfo.setSuccessor(label); in testSuccessor() 57 assertFalse(LabelInfo.isMultiTarget(label)); in testSuccessor() [all …]
|
D | MethodProbesAdapterTest.java | 122 LabelInfo.setTarget(label); in testVisitProbe1() 123 LabelInfo.setSuccessor(label); in testVisitProbe1() 133 LabelInfo.setTarget(label); in testVisitProbe2() 134 LabelInfo.setTarget(label); in testVisitProbe2() 168 LabelInfo.setTarget(label); in testVisitJumpInsn1() 169 LabelInfo.setTarget(label); in testVisitJumpInsn1() 181 LabelInfo.setTarget(label); in testVisitJumpInsn2() 182 LabelInfo.setTarget(label); in testVisitJumpInsn2() 205 LabelInfo.setTarget(label); in testVisitJumpInsn4() 206 LabelInfo.setTarget(label); in testVisitJumpInsn4() [all …]
|
D | LabelFlowAnalyzerTest.java | 49 assertFalse(LabelInfo.isMultiTarget(label)); in testFlowScenario01() 50 assertFalse(LabelInfo.isSuccessor(label)); in testFlowScenario01() 56 assertFalse(LabelInfo.isMultiTarget(label)); in testFlowScenario02() 57 assertFalse(LabelInfo.isSuccessor(label)); in testFlowScenario02() 64 assertFalse(LabelInfo.isMultiTarget(label)); in testFlowScenario03() 65 assertFalse(LabelInfo.isSuccessor(label)); in testFlowScenario03() 71 assertFalse(LabelInfo.isMultiTarget(label)); in testFlowScenario04() 72 assertFalse(LabelInfo.isSuccessor(label)); in testFlowScenario04() 79 assertTrue(LabelInfo.isMultiTarget(label)); in testFlowScenario05() 80 assertFalse(LabelInfo.isSuccessor(label)); in testFlowScenario05() [all …]
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/ |
D | LabelInfo.java | 22 public final class LabelInfo { class 46 private LabelInfo() { in LabelInfo() method in LabelInfo 56 final LabelInfo info = create(label); in setTarget() 72 final LabelInfo info = create(label); in setSuccessor() 91 final LabelInfo info = get(label); in isMultiTarget() 106 final LabelInfo info = get(label); in isSuccessor() 130 final LabelInfo info = get(label); in isMethodInvocationLine() 142 final LabelInfo info = get(label); in needsProbe() 164 final LabelInfo info = get(label); in resetDone() 190 final LabelInfo info = get(label); in isDone() [all …]
|
D | MethodProbesAdapter.java | 74 } else if (LabelInfo.needsProbe(label)) { in getTryCatchLabel() 78 LabelInfo.setSuccessor(probeLabel); in getTryCatchLabel() 87 if (LabelInfo.needsProbe(label)) { in visitLabel() 116 if (LabelInfo.isMultiTarget(label)) { in visitJumpInsn() 166 LabelInfo.resetDone(labels); in markLabels() 167 if (LabelInfo.isMultiTarget(dflt)) { in markLabels() 168 LabelInfo.setProbeId(dflt, idGenerator.nextId()); in markLabels() 171 LabelInfo.setDone(dflt); in markLabels() 173 if (LabelInfo.isMultiTarget(l) && !LabelInfo.isDone(l)) { in markLabels() 174 LabelInfo.setProbeId(l, idGenerator.nextId()); in markLabels() [all …]
|
D | LabelFlowAnalyzer.java | 75 LabelInfo.setTarget(start); in visitTryCatchBlock() 78 LabelInfo.setTarget(handler); in visitTryCatchBlock() 83 LabelInfo.setTarget(label); in visitJumpInsn() 94 LabelInfo.setTarget(label); in visitLabel() 97 LabelInfo.setSuccessor(label); in visitLabel() 119 LabelInfo.resetDone(dflt); in visitSwitchInsn() 120 LabelInfo.resetDone(labels); in visitSwitchInsn() 130 if (!LabelInfo.isDone(label)) { in setTargetIfNotDone() 131 LabelInfo.setTarget(label); in setTargetIfNotDone() 132 LabelInfo.setDone(label); in setTargetIfNotDone() [all …]
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/ |
D | MethodInstrumenter.java | 15 import org.jacoco.core.internal.flow.LabelInfo; 114 LabelInfo.resetDone(dflt); in visitTableSwitchInsnWithProbes() 115 LabelInfo.resetDone(labels); in visitTableSwitchInsnWithProbes() 128 LabelInfo.resetDone(dflt); in visitLookupSwitchInsnWithProbes() 129 LabelInfo.resetDone(labels); in visitLookupSwitchInsnWithProbes() 148 if (LabelInfo.getProbeId(label) == LabelInfo.NO_PROBE) { in createIntermediate() 151 if (LabelInfo.isDone(label)) { in createIntermediate() 152 intermediate = LabelInfo.getIntermediateLabel(label); in createIntermediate() 155 LabelInfo.setIntermediateLabel(label, intermediate); in createIntermediate() 156 LabelInfo.setDone(label); in createIntermediate() [all …]
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/ |
D | MethodAnalyzer.java | 15 import org.jacoco.core.internal.flow.LabelInfo; 135 LabelInfo.resetDone(labels); in visitSwitchInsn() 138 LabelInfo.setDone(dflt); in visitSwitchInsn() 140 if (!LabelInfo.isDone(l)) { in visitSwitchInsn() 143 LabelInfo.setDone(l); in visitSwitchInsn() 187 LabelInfo.resetDone(dflt); in visitSwitchInsnWithProbes() 188 LabelInfo.resetDone(labels); in visitSwitchInsnWithProbes() 198 final int id = LabelInfo.getProbeId(label); in visitSwitchTarget() 199 if (!LabelInfo.isDone(label)) { in visitSwitchTarget() 200 if (id == LabelInfo.NO_PROBE) { in visitSwitchTarget() [all …]
|
D | InstructionsBuilder.java | 20 import org.jacoco.core.internal.flow.LabelInfo; 93 if (!LabelInfo.isSuccessor(label)) { in addLabel() 107 LabelInfo.setInstruction(currentLabel.get(i), insn); in addInstruction() 181 source.addBranch(LabelInfo.getInstruction(target), branch); in wire()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/ |
D | MethodInstrumenterTest.java | 18 import org.jacoco.core.internal.flow.LabelInfo; 196 LabelInfo.setProbeId(L0, 0); in testVisitTableSwitchInsnWithProbes() 197 LabelInfo.setProbeId(L1, 1); in testVisitTableSwitchInsnWithProbes() 220 LabelInfo.setProbeId(L0, 0); in testVisitLookupSwitchInsnWithProbes() 221 LabelInfo.setProbeId(L1, 1); in testVisitLookupSwitchInsnWithProbes()
|
/external/llvm-project/flang/lib/Semantics/ |
D | canonicalize-do.cpp | 15 struct LabelInfo { struct in Fortran::parser::CanonicalizationOfDoLoops 24 std::vector<LabelInfo> stack; in Post() 82 stack.push_back(LabelInfo{i, label}); in Post() 98 void CanonicalizeIfMatch(Block &originalBlock, std::vector<LabelInfo> &stack, in CanonicalizeIfMatch()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/ |
D | InstructionsBuilderTest.java | 19 import org.jacoco.core.internal.flow.LabelInfo; 137 LabelInfo.setSuccessor(l); in subsequent_instructions_should_be_linked_after_label_marked_as_successor()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | DIBuilder.cpp | 868 Instruction *DIBuilder::insertLabel(DILabel *LabelInfo, const DILocation *DL, in insertLabel() argument 871 LabelInfo, DL, InsertBefore ? InsertBefore->getParent() : nullptr, in insertLabel() 875 Instruction *DIBuilder::insertLabel(DILabel *LabelInfo, const DILocation *DL, in insertLabel() argument 877 return insertLabel(LabelInfo, DL, InsertAtEnd, nullptr); in insertLabel() 966 DILabel *LabelInfo, const DILocation *DL, in insertLabel() argument 968 assert(LabelInfo && "empty or invalid DILabel* passed to dbg.label"); in insertLabel() 971 LabelInfo->getScope()->getSubprogram() && in insertLabel() 976 trackIfUnresolved(LabelInfo); in insertLabel() 977 Value *Args[] = {MetadataAsValue::get(VMContext, LabelInfo)}; in insertLabel()
|
/external/llvm-project/llvm/lib/IR/ |
D | DIBuilder.cpp | 912 Instruction *DIBuilder::insertLabel(DILabel *LabelInfo, const DILocation *DL, in insertLabel() argument 915 LabelInfo, DL, InsertBefore ? InsertBefore->getParent() : nullptr, in insertLabel() 919 Instruction *DIBuilder::insertLabel(DILabel *LabelInfo, const DILocation *DL, in insertLabel() argument 921 return insertLabel(LabelInfo, DL, InsertAtEnd, nullptr); in insertLabel() 1009 DILabel *LabelInfo, const DILocation *DL, in insertLabel() argument 1011 assert(LabelInfo && "empty or invalid DILabel* passed to dbg.label"); in insertLabel() 1014 LabelInfo->getScope()->getSubprogram() && in insertLabel() 1019 trackIfUnresolved(LabelInfo); in insertLabel() 1020 Value *Args[] = {MetadataAsValue::get(VMContext, LabelInfo)}; in insertLabel()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DIBuilder.h | 86 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL, 820 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL, 827 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL,
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | DIBuilder.h | 86 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL, 861 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL, 868 Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL,
|