Home
last modified time | relevance | path

Searched refs:DII (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp426 for (DbgVariableIntrinsic *DII : Info.DbgUsers) { in rewriteSingleStoreAlloca()
427 if (DII->isAddressOfVariable()) { in rewriteSingleStoreAlloca()
429 ConvertDebugDeclareToDebugValue(DII, Info.OnlyStore, DIB); in rewriteSingleStoreAlloca()
430 DII->eraseFromParent(); in rewriteSingleStoreAlloca()
431 } else if (DII->getExpression()->startsWithDeref()) { in rewriteSingleStoreAlloca()
432 DII->eraseFromParent(); in rewriteSingleStoreAlloca()
528 for (DbgVariableIntrinsic *DII : Info.DbgUsers) { in promoteSingleBlockAlloca()
529 if (DII->isAddressOfVariable()) { in promoteSingleBlockAlloca()
531 ConvertDebugDeclareToDebugValue(DII, SI, DIB); in promoteSingleBlockAlloca()
541 for (DbgVariableIntrinsic *DII : Info.DbgUsers) in promoteSingleBlockAlloca()
[all …]
DLocal.cpp556 for (auto *DII : DbgUsers) { in replaceDbgUsesWithUndef() local
558 DII->setOperand(0, MetadataAsValue::get(DII->getContext(), in replaceDbgUsesWithUndef()
1369 static bool valueCoversEntireFragment(Type *ValTy, DbgVariableIntrinsic *DII) { in valueCoversEntireFragment() argument
1370 const DataLayout &DL = DII->getModule()->getDataLayout(); in valueCoversEntireFragment()
1372 if (auto FragmentSize = DII->getFragmentSizeInBits()) in valueCoversEntireFragment()
1377 if (DII->isAddressOfVariable()) in valueCoversEntireFragment()
1378 if (auto *AI = dyn_cast_or_null<AllocaInst>(DII->getVariableLocation())) in valueCoversEntireFragment()
1389 static DebugLoc getDebugValueLoc(DbgVariableIntrinsic *DII, Instruction *Src) { in getDebugValueLoc() argument
1391 DebugLoc DeclareLoc = DII->getDebugLoc(); in getDebugValueLoc()
1400 void llvm::ConvertDebugDeclareToDebugValue(DbgVariableIntrinsic *DII, in ConvertDebugDeclareToDebugValue() argument
[all …]
DLoopRotationUtils.cpp391 if (auto *DII = dyn_cast<DbgVariableIntrinsic>(&*I)) in rotateLoop() local
392 DbgIntrinsics.insert(makeHash(DII)); in rotateLoop()
421 if (auto *DII = dyn_cast<DbgVariableIntrinsic>(C)) in rotateLoop() local
422 if (DbgIntrinsics.count(makeHash(DII))) { in rotateLoop()
DCodeExtractor.cpp1499 auto *DII = dyn_cast<DbgInfoIntrinsic>(&I); in fixupDebugInfoPostExtraction() local
1500 if (!DII) in fixupDebugInfoPostExtraction()
1516 auto *DVI = cast<DbgVariableIntrinsic>(DII); in fixupDebugInfoPostExtraction()
1542 for (auto *DII : DebugIntrinsicsToDelete) in fixupDebugInfoPostExtraction() local
1543 DII->eraseFromParent(); in fixupDebugInfoPostExtraction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLocal.cpp492 for (auto *DII : DbgUsers) { in replaceDbgUsesWithUndef() local
494 DII->setOperand(0, MetadataAsValue::get(DII->getContext(), in replaceDbgUsesWithUndef()
1256 static bool valueCoversEntireFragment(Type *ValTy, DbgVariableIntrinsic *DII) { in valueCoversEntireFragment() argument
1257 const DataLayout &DL = DII->getModule()->getDataLayout(); in valueCoversEntireFragment()
1259 if (auto FragmentSize = DII->getFragmentSizeInBits()) in valueCoversEntireFragment()
1264 if (DII->isAddressOfVariable()) in valueCoversEntireFragment()
1265 if (auto *AI = dyn_cast_or_null<AllocaInst>(DII->getVariableLocation())) in valueCoversEntireFragment()
1276 static DebugLoc getDebugValueLoc(DbgVariableIntrinsic *DII, Instruction *Src) { in getDebugValueLoc() argument
1278 DebugLoc DeclareLoc = DII->getDebugLoc(); in getDebugValueLoc()
1287 void llvm::ConvertDebugDeclareToDebugValue(DbgVariableIntrinsic *DII, in ConvertDebugDeclareToDebugValue() argument
[all …]
DPromoteMemoryToRegister.cpp415 for (DbgVariableIntrinsic *DII : Info.DbgDeclares) { in rewriteSingleStoreAlloca()
417 ConvertDebugDeclareToDebugValue(DII, Info.OnlyStore, DIB); in rewriteSingleStoreAlloca()
418 DII->eraseFromParent(); in rewriteSingleStoreAlloca()
513 for (DbgVariableIntrinsic *DII : Info.DbgDeclares) { in promoteSingleBlockAlloca()
515 ConvertDebugDeclareToDebugValue(DII, SI, DIB); in promoteSingleBlockAlloca()
524 for (DbgVariableIntrinsic *DII : Info.DbgDeclares) in promoteSingleBlockAlloca()
525 DII->eraseFromParent(); in promoteSingleBlockAlloca()
672 for (auto *DII : Declares) in run() local
673 DII->eraseFromParent(); in run()
913 for (DbgVariableIntrinsic *DII : AllocaDbgDeclares[AllocaNo]) in RenamePass()
[all …]
DLoopRotationUtils.cpp326 if (auto *DII = dyn_cast<DbgVariableIntrinsic>(&*I)) in rotateLoop() local
327 DbgIntrinsics.insert(makeHash(DII)); in rotateLoop()
356 if (auto *DII = dyn_cast<DbgVariableIntrinsic>(C)) in rotateLoop() local
357 if (DbgIntrinsics.count(makeHash(DII))) { in rotateLoop()
/external/llvm/lib/Transforms/Scalar/
DADCE.cpp118 if (auto *DII = dyn_cast<DbgInfoIntrinsic>(&I)) { in aggressiveDCE() local
120 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in aggressiveDCE()
128 if (Value *V = DII->getVariableLocation()) in aggressiveDCE()
131 dbgs() << "Dropping debug info for " << *DII << "\n"; in aggressiveDCE()
/external/llvm-project/llvm/unittests/Transforms/Utils/
DLocalTest.cpp153 auto *DII = dyn_cast<DbgDeclareInst>(Inst); in TEST() local
154 ASSERT_TRUE(DII); in TEST()
738 EXPECT_TRUE(any_of(CDbgVals, [](DbgVariableIntrinsic *DII) { in TEST() argument
739 return isa<DbgAddrIntrinsic>(DII); in TEST()
741 EXPECT_TRUE(any_of(CDbgVals, [](DbgVariableIntrinsic *DII) { in TEST() argument
742 return isa<DbgDeclareInst>(DII); in TEST()
750 EXPECT_TRUE(any_of(DDbgVals, [](DbgVariableIntrinsic *DII) { in TEST() argument
751 return isa<DbgAddrIntrinsic>(DII); in TEST()
753 EXPECT_TRUE(any_of(DDbgVals, [](DbgVariableIntrinsic *DII) { in TEST() argument
754 return isa<DbgDeclareInst>(DII); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DADCE.cpp516 if (auto *DII = dyn_cast<DbgVariableIntrinsic>(&I)) { in removeDeadInstructions()
518 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
524 if (Value *V = DII->getVariableLocation()) in removeDeadInstructions()
527 dbgs() << "Dropping debug info for " << *DII << "\n"; in removeDeadInstructions()
541 if (auto *DII = dyn_cast<DbgInfoIntrinsic>(&I)) { in removeDeadInstructions() local
543 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DADCE.cpp516 if (auto *DII = dyn_cast<DbgVariableIntrinsic>(&I)) { in removeDeadInstructions()
518 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
524 if (Value *V = DII->getVariableLocation()) in removeDeadInstructions()
527 dbgs() << "Dropping debug info for " << *DII << "\n"; in removeDeadInstructions()
541 if (auto *DII = dyn_cast<DbgInfoIntrinsic>(&I)) { in removeDeadInstructions() local
543 if (AliveScopes.count(DII->getDebugLoc()->getScope())) in removeDeadInstructions()
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DLocal.h257 void ConvertDebugDeclareToDebugValue(DbgVariableIntrinsic *DII,
262 void ConvertDebugDeclareToDebugValue(DbgVariableIntrinsic *DII,
267 void ConvertDebugDeclareToDebugValue(DbgVariableIntrinsic *DII,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DLocal.h289 void ConvertDebugDeclareToDebugValue(DbgVariableIntrinsic *DII,
294 void ConvertDebugDeclareToDebugValue(DbgVariableIntrinsic *DII,
299 void ConvertDebugDeclareToDebugValue(DbgVariableIntrinsic *DII,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2454 for (auto *DII : DIIs) in visitAllocSite() local
2455 ConvertDebugDeclareToDebugValue(DII, SI, *DIB); in visitAllocSite()
2472 for (auto *DII : DIIs) in visitAllocSite() local
2473 eraseInstFromFunction(*DII); in visitAllocSite()
3222 for (auto *DII : reverse(DbgUsers)) { in TryToSinkInstruction() local
3223 if (DII->getParent() == SrcBlock) { in TryToSinkInstruction()
3224 if (isa<DbgDeclareInst>(DII)) { in TryToSinkInstruction()
3233 DII->setOperand( in TryToSinkInstruction()
3243 cast<DbgVariableIntrinsic>(DII->clone())}; in TryToSinkInstruction()
3248 LLVM_DEBUG(dbgs() << "SINK: " << *DII << '\n'); in TryToSinkInstruction()
[all …]
/external/llvm/lib/IR/
DVerifier.cpp422 void visitDbgIntrinsic(StringRef Kind, DbgIntrinsicTy &DII);
3745 if (auto *DII = dyn_cast<DbgInfoIntrinsic>(&I)) in visitInstruction() local
3746 verifyBitPieceExpression(*DII); in visitInstruction()
4153 void Verifier::visitDbgIntrinsic(StringRef Kind, DbgIntrinsicTy &DII) { in visitDbgIntrinsic() argument
4154 auto *MD = cast<MetadataAsValue>(DII.getArgOperand(0))->getMetadata(); in visitDbgIntrinsic()
4157 "invalid llvm.dbg." + Kind + " intrinsic address/value", &DII, MD); in visitDbgIntrinsic()
4158 AssertDI(isa<DILocalVariable>(DII.getRawVariable()), in visitDbgIntrinsic()
4159 "invalid llvm.dbg." + Kind + " intrinsic variable", &DII, in visitDbgIntrinsic()
4160 DII.getRawVariable()); in visitDbgIntrinsic()
4161 AssertDI(isa<DIExpression>(DII.getRawExpression()), in visitDbgIntrinsic()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DVerifier.cpp480 void visitDbgIntrinsic(StringRef Kind, DbgVariableIntrinsic &DII);
4253 if (auto *DII = dyn_cast<DbgVariableIntrinsic>(&I)) { in visitInstruction() local
4254 verifyFragmentExpression(*DII); in visitInstruction()
4255 verifyNotEntryValue(*DII); in visitInstruction()
4902 void Verifier::visitDbgIntrinsic(StringRef Kind, DbgVariableIntrinsic &DII) { in visitDbgIntrinsic() argument
4903 auto *MD = cast<MetadataAsValue>(DII.getArgOperand(0))->getMetadata(); in visitDbgIntrinsic()
4906 "invalid llvm.dbg." + Kind + " intrinsic address/value", &DII, MD); in visitDbgIntrinsic()
4907 AssertDI(isa<DILocalVariable>(DII.getRawVariable()), in visitDbgIntrinsic()
4908 "invalid llvm.dbg." + Kind + " intrinsic variable", &DII, in visitDbgIntrinsic()
4909 DII.getRawVariable()); in visitDbgIntrinsic()
[all …]
/external/llvm-project/llvm/lib/IR/
DVerifier.cpp487 void visitDbgIntrinsic(StringRef Kind, DbgVariableIntrinsic &DII);
4454 if (auto *DII = dyn_cast<DbgVariableIntrinsic>(&I)) { in visitInstruction() local
4455 verifyFragmentExpression(*DII); in visitInstruction()
4456 verifyNotEntryValue(*DII); in visitInstruction()
5322 void Verifier::visitDbgIntrinsic(StringRef Kind, DbgVariableIntrinsic &DII) { in visitDbgIntrinsic() argument
5323 auto *MD = cast<MetadataAsValue>(DII.getArgOperand(0))->getMetadata(); in visitDbgIntrinsic()
5326 "invalid llvm.dbg." + Kind + " intrinsic address/value", &DII, MD); in visitDbgIntrinsic()
5327 AssertDI(isa<DILocalVariable>(DII.getRawVariable()), in visitDbgIntrinsic()
5328 "invalid llvm.dbg." + Kind + " intrinsic variable", &DII, in visitDbgIntrinsic()
5329 DII.getRawVariable()); in visitDbgIntrinsic()
[all …]
/external/llvm-project/llvm/include/llvm/Analysis/
DIRSimilarityIdentifier.h376 InstrType visitDbgInfoIntrinsic(DbgInfoIntrinsic &DII) { return Invisible; } in visitDbgInfoIntrinsic()
/external/llvm-project/clang/lib/CodeGen/
DCGVTables.cpp131 if (auto *DII = dyn_cast<llvm::DbgVariableIntrinsic>(&I)) { in resolveTopLevelMetadata() local
132 auto *DILocal = DII->getVariable(); in resolveTopLevelMetadata()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp3545 auto updateDbgDeclare = [&I](DbgVariableIntrinsic *DII) { in TryToSinkInstruction() argument
3546 if (!isa<DbgDeclareInst>(DII)) in TryToSinkInstruction()
3550 DII->setOperand( in TryToSinkInstruction()
/external/icu/icu4j/
Dcoverage-exclusion.txt673 com/ibm/icu/impl/Utility#arrayRegionMatches:([DI[DII)Z
/external/cldr/tools/java/org/unicode/cldr/util/data/external/
D2013-1_UNLOCODE_CodeListPart1.csv18986 "+","DE","DII","Dietingen","Dietingen","BW","--3-----","RL","1301",,"4812N 00839E",
35207 ,"FR","DII","Dirinon","Dirinon","29","-23-----","RL","0601",,"4824N 00416W",
D2013-1_UNLOCODE_CodeListPart3.csv13510 ,"US","DII","Darien","Darien","IL","--3-----","RL","0901",,"4146N 08800W",