/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | Local.cpp | 235 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(I)) { in isInstructionTriviallyDead() local 236 if (DDI->getAddress()) in isInstructionTriviallyDead() 794 bool llvm::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI, in ConvertDebugDeclareToDebugValue() argument 796 DIVariable DIVar(DDI->getVariable()); in ConvertDebugDeclareToDebugValue() 819 DbgVal->setDebugLoc(DDI->getDebugLoc()); in ConvertDebugDeclareToDebugValue() 825 bool llvm::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI, in ConvertDebugDeclareToDebugValue() argument 827 DIVariable DIVar(DDI->getVariable()); in ConvertDebugDeclareToDebugValue() 841 DbgVal->setDebugLoc(DDI->getDebugLoc()); in ConvertDebugDeclareToDebugValue() 852 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(BI)) in LowerDbgDeclare() local 853 Dbgs.push_back(DDI); in LowerDbgDeclare() [all …]
|
D | PromoteMemoryToRegister.cpp | 427 if (DbgDeclareInst *DDI = Info.DbgDeclare) { in run() local 429 DIB = new DIBuilder(*DDI->getParent()->getParent()->getParent()); in run() 430 ConvertDebugDeclareToDebugValue(DDI, Info.OnlyStore, *DIB); in run() 431 DDI->eraseFromParent(); in run() 462 if (DbgDeclareInst *DDI = Info.DbgDeclare) { in run() local 465 ConvertDebugDeclareToDebugValue(DDI, SI, *DIB); in run() 479 if (DbgDeclareInst *DDI = Info.DbgDeclare) in run() local 480 DDI->eraseFromParent(); in run() 577 if (DbgDeclareInst *DDI = AllocaDbgDeclares[i]) in run() local 578 DDI->eraseFromParent(); in run() [all …]
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | DebugInfoProbe.cpp | 79 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(BI)) { in initialize() local 80 Addr = DDI->getAddress(); in initialize() 81 Node = DDI->getVariable(); in initialize() 130 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(BI)) { in finalize() local 131 Addr = DDI->getAddress(); in finalize() 132 Node = DDI->getVariable(); in finalize()
|
D | AutoUpgrade.cpp | 411 DbgDeclareInst *DDI = cast<DbgDeclareInst>(Declare->use_back()); in CheckDebugInfoIntrinsics() local 412 if (!isa<MDNode>(DDI->getArgOperand(0)) || in CheckDebugInfoIntrinsics() 413 !isa<MDNode>(DDI->getArgOperand(1))) { in CheckDebugInfoIntrinsics()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | DbgInfoPrinter.cpp | 112 if (const DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(BI)) in findDbgDeclare() local 113 if (DDI->getAddress() == V) in findDbgDeclare() 114 return DDI; in findDbgDeclare() 148 const DbgDeclareInst *DDI = findDbgDeclare(V); in getLocationInfo() local 149 if (!DDI) return false; in getLocationInfo() 150 DIVariable Var(cast<MDNode>(DDI->getVariable())); in getLocationInfo()
|
D | DebugInfo.cpp | 938 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(BI)) in processModule() local 939 processDeclare(DDI); in processModule() 1042 void DebugInfoFinder::processDeclare(DbgDeclareInst *DDI) { in processDeclare() argument 1043 MDNode *N = dyn_cast<MDNode>(DDI->getVariable()); in processDeclare()
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 299 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(I)) { in isInstructionTriviallyDead() local 300 if (DDI->getAddress()) in isInstructionTriviallyDead() 1062 bool llvm::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI, in ConvertDebugDeclareToDebugValue() argument 1064 auto *DIVar = DDI->getVariable(); in ConvertDebugDeclareToDebugValue() 1065 auto *DIExpr = DDI->getExpression(); in ConvertDebugDeclareToDebugValue() 1094 const DataLayout &DL = DDI->getModule()->getDataLayout(); in ConvertDebugDeclareToDebugValue() 1099 DDI->getDebugLoc(), SI); in ConvertDebugDeclareToDebugValue() 1102 DDI->getDebugLoc(), SI); in ConvertDebugDeclareToDebugValue() 1108 bool llvm::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI, in ConvertDebugDeclareToDebugValue() argument 1110 auto *DIVar = DDI->getVariable(); in ConvertDebugDeclareToDebugValue() [all …]
|
D | PromoteMemoryToRegister.cpp | 403 if (DbgDeclareInst *DDI = Info.DbgDeclare) { in rewriteSingleStoreAlloca() local 405 ConvertDebugDeclareToDebugValue(DDI, Info.OnlyStore, DIB); in rewriteSingleStoreAlloca() 406 DDI->eraseFromParent(); in rewriteSingleStoreAlloca() 407 LBI.deleteValue(DDI); in rewriteSingleStoreAlloca() 494 if (DbgDeclareInst *DDI = Info.DbgDeclare) { in promoteSingleBlockAlloca() local 496 ConvertDebugDeclareToDebugValue(DDI, SI, DIB); in promoteSingleBlockAlloca() 508 if (DbgDeclareInst *DDI = Info.DbgDeclare) { in promoteSingleBlockAlloca() local 509 DDI->eraseFromParent(); in promoteSingleBlockAlloca() 510 LBI.deleteValue(DDI); in promoteSingleBlockAlloca() 674 if (DbgDeclareInst *DDI = AllocaDbgDeclares[i]) in run() local [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | Local.h | 169 bool ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI, 174 bool ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI,
|
/external/swiftshader/third_party/LLVM/tools/llvm-dis/ |
D | llvm-dis.cpp | 91 if (const DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(I)) { in printInfoComment() local 92 DIVariable Var(DDI->getVariable()); in printInfoComment()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dis/ |
D | llvm-dis.cpp | 106 if (const DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(I)) { in printInfoComment() local 111 OS << " [debug variable = " << DDI->getVariable()->getName() << "]"; in printInfoComment()
|
/external/llvm/tools/llvm-dis/ |
D | llvm-dis.cpp | 103 if (const DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(I)) { in printInfoComment() local 108 OS << " [debug variable = " << DDI->getVariable()->getName() << "]"; in printInfoComment()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 253 bool ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI, 258 bool ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI,
|
/external/llvm/lib/IR/ |
D | DebugInfo.cpp | 158 const DbgDeclareInst *DDI) { in processDeclare() argument 159 auto *N = dyn_cast<MDNode>(DDI->getVariable()); in processDeclare()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 365 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(I)) { in wouldInstructionBeTriviallyDead() local 366 if (DDI->getAddress()) in wouldInstructionBeTriviallyDead() 1386 if (auto DDI = dyn_cast<DbgDeclareInst>(&BI)) in LowerDbgDeclare() local 1387 Dbgs.push_back(DDI); in LowerDbgDeclare() 1393 DbgDeclareInst *DDI = I; in LowerDbgDeclare() local 1394 AllocaInst *AI = dyn_cast_or_null<AllocaInst>(DDI->getAddress()); in LowerDbgDeclare() 1418 ConvertDebugDeclareToDebugValue(DDI, SI, DIB); in LowerDbgDeclare() 1420 ConvertDebugDeclareToDebugValue(DDI, LI, DIB); in LowerDbgDeclare() 1426 DIExpression::append(DDI->getExpression(), dwarf::DW_OP_deref); in LowerDbgDeclare() 1427 DIB.insertDbgValueIntrinsic(AI, DDI->getVariable(), DerefExpr, in LowerDbgDeclare() [all …]
|
/external/llvm/include/llvm/IR/ |
D | DebugInfo.h | 64 void processDeclare(const Module &M, const DbgDeclareInst *DDI);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | DebugInfo.h | 73 void processDeclare(const Module &M, const DbgDeclareInst *DDI);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 561 } else if (auto *DDI = dyn_cast<DbgDeclareInst>(&*BI)) { in filterInstsUnrelatedToPDI() local 565 DILocalVariable *DILocVar = DDI->getVariable(); in filterInstsUnrelatedToPDI() 569 AllocaInst *AI = dyn_cast_or_null<AllocaInst>(DDI->getAddress()); in filterInstsUnrelatedToPDI()
|
D | Inliner.cpp | 219 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(U)) in mergeInlinedArrayAllocas() local 220 DDI->moveBefore(AvailableAlloca->getNextNode()); in mergeInlinedArrayAllocas()
|
/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 184 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(U)) in InlineCallIfPossible() local 185 DDI->moveBefore(AvailableAlloca->getNextNode()); in InlineCallIfPossible()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 940 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(*UI)) in run() local 941 DDIs.push_back(DDI); in run() 950 DbgDeclareInst *DDI = *I; in run() local 951 DDI->eraseFromParent(); in run() 970 DbgDeclareInst *DDI = *I; in updateDebugInfo() local 972 ConvertDebugDeclareToDebugValue(DDI, SI, *DIB); in updateDebugInfo() 974 ConvertDebugDeclareToDebugValue(DDI, LI, *DIB); in updateDebugInfo()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | DebugInfo.cpp | 109 if (auto *DDI = dyn_cast<DbgDeclareInst>(&I)) in processInstruction() local 110 processDeclare(M, DDI); in processInstruction() 199 const DbgDeclareInst *DDI) { in processDeclare() argument 200 auto *N = dyn_cast<MDNode>(DDI->getVariable()); in processDeclare()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/ |
D | MetadataLoader.cpp | 525 if (auto *DDI = dyn_cast<DbgDeclareInst>(&I)) in upgradeDeclareExpressions() local 526 if (auto *DIExpr = DDI->getExpression()) in upgradeDeclareExpressions() 528 dyn_cast_or_null<Argument>(DDI->getAddress())) { in upgradeDeclareExpressions() 533 DDI->setOperand(2, MetadataAsValue::get(Context, E)); in upgradeDeclareExpressions()
|
/external/llvm/lib/CodeGen/ |
D | TwoAddressInstructionPass.cpp | 988 DenseMap<MachineInstr*, unsigned>::iterator DDI = DistanceMap.find(&DefMI); in isDefTooClose() local 989 if (DDI == DistanceMap.end()) in isDefTooClose() 991 unsigned DefDist = DDI->second; in isDefTooClose()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | TwoAddressInstructionPass.cpp | 1030 DenseMap<MachineInstr*, unsigned>::iterator DDI = DistanceMap.find(&DefMI); in isDefTooClose() local 1031 if (DDI == DistanceMap.end()) in isDefTooClose() 1033 unsigned DefDist = DDI->second; in isDefTooClose()
|