Home
last modified time | relevance | path

Searched refs:DDI (Results 1 – 25 of 47) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLocal.cpp235 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 …]
DPromoteMemoryToRegister.cpp427 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/
DDebugInfoProbe.cpp79 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()
DAutoUpgrade.cpp411 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/
DDbgInfoPrinter.cpp112 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()
DDebugInfo.cpp938 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/
DLocal.cpp299 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 …]
DPromoteMemoryToRegister.cpp403 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/
DLocal.h169 bool ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI,
174 bool ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI,
/external/swiftshader/third_party/LLVM/tools/llvm-dis/
Dllvm-dis.cpp91 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/
Dllvm-dis.cpp106 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/
Dllvm-dis.cpp103 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/
DLocal.h253 bool ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI,
258 bool ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI,
/external/llvm/lib/IR/
DDebugInfo.cpp158 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/
DLocal.cpp365 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/
DDebugInfo.h64 void processDeclare(const Module &M, const DbgDeclareInst *DDI);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDebugInfo.h73 void processDeclare(const Module &M, const DbgDeclareInst *DDI);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp561 } 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()
DInliner.cpp219 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(U)) in mergeInlinedArrayAllocas() local
220 DDI->moveBefore(AvailableAlloca->getNextNode()); in mergeInlinedArrayAllocas()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp184 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/
DScalarReplAggregates.cpp940 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/
DDebugInfo.cpp109 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/
DMetadataLoader.cpp525 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/
DTwoAddressInstructionPass.cpp988 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/
DTwoAddressInstructionPass.cpp1030 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()

12