/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 88 const DenseMap<BasicBlock *, ColorVector> &BlockColors); 100 const DenseMap<BasicBlock *, ColorVector> &BlockColors); 324 const DenseMap<BasicBlock *, ColorVector> &BlockColors) { in createCallInst() argument 326 if (!BlockColors.empty()) { in createCallInst() 327 const ColorVector &CV = BlockColors.find(InsertBefore->getParent())->second; in createCallInst() 340 const DenseMap<BasicBlock *, ColorVector> &BlockColors) { in createCallInst() argument 342 InsertBefore, BlockColors); in createCallInst() 374 const DenseMap<BasicBlock *, ColorVector> &BlockColors) { in tryToContractReleaseIntoStoreStrong() argument 426 CallInst *StoreStrong = createCallInst(Decl, Args, "", Store, BlockColors); in tryToContractReleaseIntoStoreStrong() 451 const DenseMap<BasicBlock *, ColorVector> &BlockColors) { in tryToPeepholeInstruction() argument [all …]
|
D | ObjCARCOpts.cpp | 514 Function &F, DenseMap<BasicBlock *, ColorVector> &BlockColors, 521 Function &F, DenseMap<BasicBlock *, ColorVector> &BlockColors, 652 Function &F, DenseMap<BasicBlock *, ColorVector> &BlockColors, in OptimizeInlinedAutoreleaseRVCall() argument 702 OptimizeIndividualCallImpl(F, BlockColors, Release, ARCInstKind::Release, in OptimizeInlinedAutoreleaseRVCall() 759 const DenseMap<BasicBlock *, ColorVector> &BlockColors) { in CloneCallInstForBB() argument 769 if (!BlockColors.empty()) { in CloneCallInstForBB() 770 const ColorVector &CV = BlockColors.find(&BB)->second; in CloneCallInstForBB() 788 DenseMap<BasicBlock *, ColorVector> BlockColors; in OptimizeIndividualCalls() local 791 BlockColors = colorEHFunclets(F); in OptimizeIndividualCalls() 805 OptimizeIndividualCallImpl(F, BlockColors, DelayedAutoreleaseRV, in OptimizeIndividualCalls() [all …]
|
/external/llvm-project/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 87 const DenseMap<BasicBlock *, ColorVector> &BlockColors); 96 const DenseMap<BasicBlock *, ColorVector> &BlockColors); 312 const DenseMap<BasicBlock *, ColorVector> &BlockColors) { in createCallInst() argument 314 if (!BlockColors.empty()) { in createCallInst() 315 const ColorVector &CV = BlockColors.find(InsertBefore->getParent())->second; in createCallInst() 328 const DenseMap<BasicBlock *, ColorVector> &BlockColors) { in createCallInst() argument 330 InsertBefore, BlockColors); in createCallInst() 362 const DenseMap<BasicBlock *, ColorVector> &BlockColors) { in tryToContractReleaseIntoStoreStrong() argument 414 CallInst *StoreStrong = createCallInst(Decl, Args, "", Store, BlockColors); in tryToContractReleaseIntoStoreStrong() 438 const DenseMap<BasicBlock *, ColorVector> &BlockColors) { in tryToPeepholeInstruction() argument [all …]
|
D | ObjCARCOpts.cpp | 514 Function &F, DenseMap<BasicBlock *, ColorVector> &BlockColors, 521 Function &F, DenseMap<BasicBlock *, ColorVector> &BlockColors, 661 Function &F, DenseMap<BasicBlock *, ColorVector> &BlockColors, in OptimizeInlinedAutoreleaseRVCall() argument 712 OptimizeIndividualCallImpl(F, BlockColors, Release, ARCInstKind::Release, in OptimizeInlinedAutoreleaseRVCall() 769 const DenseMap<BasicBlock *, ColorVector> &BlockColors) { in CloneCallInstForBB() argument 779 if (!BlockColors.empty()) { in CloneCallInstForBB() 780 const ColorVector &CV = BlockColors.find(&BB)->second; in CloneCallInstForBB() 798 DenseMap<BasicBlock *, ColorVector> BlockColors; in OptimizeIndividualCalls() local 801 BlockColors = colorEHFunclets(F); in OptimizeIndividualCalls() 815 OptimizeIndividualCallImpl(F, BlockColors, DelayedAutoreleaseRV, in OptimizeIndividualCalls() [all …]
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 73 int getBaseStateForBB(DenseMap<BasicBlock *, ColorVector> &BlockColors, 75 int getStateForCall(DenseMap<BasicBlock *, ColorVector> &BlockColors, 508 DenseMap<BasicBlock *, ColorVector> &BlockColors, WinEHFuncInfo &FuncInfo, in getBaseStateForBB() argument 511 auto &BBColors = BlockColors[BB]; in getBaseStateForBB() 527 DenseMap<BasicBlock *, ColorVector> &BlockColors, WinEHFuncInfo &FuncInfo, in getStateForCall() argument 536 return getBaseStateForBB(BlockColors, FuncInfo, Call.getParent()); in getStateForCall() 651 DenseMap<BasicBlock *, ColorVector> BlockColors = colorEHFunclets(F); in addStateStores() local 672 int State = getStateForCall(BlockColors, FuncInfo, *Call); in addStateStores() 725 auto &BBColors = BlockColors[BB]; in addStateStores() 739 int State = getStateForCall(BlockColors, FuncInfo, *Call); in addStateStores() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 79 int getBaseStateForBB(DenseMap<BasicBlock *, ColorVector> &BlockColors, 81 int getStateForCallSite(DenseMap<BasicBlock *, ColorVector> &BlockColors, 512 DenseMap<BasicBlock *, ColorVector> &BlockColors, WinEHFuncInfo &FuncInfo, in getBaseStateForBB() argument 515 auto &BBColors = BlockColors[BB]; in getBaseStateForBB() 531 DenseMap<BasicBlock *, ColorVector> &BlockColors, WinEHFuncInfo &FuncInfo, in getStateForCallSite() argument 540 return getBaseStateForBB(BlockColors, FuncInfo, CS.getParent()); in getStateForCallSite() 658 DenseMap<BasicBlock *, ColorVector> BlockColors = colorEHFunclets(F); in addStateStores() local 679 int State = getStateForCallSite(BlockColors, FuncInfo, CS); in addStateStores() 732 auto &BBColors = BlockColors[BB]; in addStateStores() 746 int State = getStateForCallSite(BlockColors, FuncInfo, CS); in addStateStores() [all …]
|
/external/llvm/lib/Analysis/ |
D | EHPersonalities.cpp | 54 DenseMap<BasicBlock *, ColorVector> BlockColors; in colorEHFunclets() local 84 ColorVector &Colors = BlockColors[Visiting]; in colorEHFunclets() 108 return BlockColors; in colorEHFunclets()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 73 int getBaseStateForBB(DenseMap<BasicBlock *, ColorVector> &BlockColors, 75 int getStateForCallSite(DenseMap<BasicBlock *, ColorVector> &BlockColors, 512 DenseMap<BasicBlock *, ColorVector> &BlockColors, WinEHFuncInfo &FuncInfo, in getBaseStateForBB() argument 515 auto &BBColors = BlockColors[BB]; in getBaseStateForBB() 531 DenseMap<BasicBlock *, ColorVector> &BlockColors, WinEHFuncInfo &FuncInfo, in getStateForCallSite() argument 540 return getBaseStateForBB(BlockColors, FuncInfo, CS.getParent()); in getStateForCallSite() 658 DenseMap<BasicBlock *, ColorVector> BlockColors = colorEHFunclets(F); in addStateStores() local 679 int State = getStateForCallSite(BlockColors, FuncInfo, CS); in addStateStores() 732 auto &BBColors = BlockColors[BB]; in addStateStores() 746 int State = getStateForCallSite(BlockColors, FuncInfo, CS); in addStateStores() [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | EHPersonalities.cpp | 84 DenseMap<BasicBlock *, ColorVector> BlockColors; in colorEHFunclets() local 114 ColorVector &Colors = BlockColors[Visiting]; in colorEHFunclets() 138 return BlockColors; in colorEHFunclets()
|
D | MustExecute.cpp | 35 return BlockColors; in getBlockColors() 39 ColorVector &ColorsForNewBlock = BlockColors[New]; in copyColors() 40 ColorVector &ColorsForOldBlock = BlockColors[Old]; in copyColors() 112 BlockColors = colorEHFunclets(*Fn); in computeBlockColors()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | EHPersonalities.cpp | 80 DenseMap<BasicBlock *, ColorVector> BlockColors; in colorEHFunclets() local 110 ColorVector &Colors = BlockColors[Visiting]; in colorEHFunclets() 134 return BlockColors; in colorEHFunclets()
|
D | MustExecute.cpp | 33 return BlockColors; in getBlockColors() 37 ColorVector &ColorsForNewBlock = BlockColors[New]; in copyColors() 38 ColorVector &ColorsForOldBlock = BlockColors[Old]; in copyColors() 110 BlockColors = colorEHFunclets(*Fn); in computeBlockColors()
|
/external/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 89 DenseMap<BasicBlock *, ColorVector> BlockColors; member in __anon98d5fb000111::WinEHPrepare 167 DenseMap<BasicBlock *, ColorVector> BlockColors = colorEHFunclets(*F); in calculateStateNumbersForInvokes() local 173 auto &BBColors = BlockColors[&BB]; in calculateStateNumbersForInvokes() 670 BlockColors = colorEHFunclets(F); in colorFunclets() 674 ColorVector &Colors = BlockColors[&BB]; in colorFunclets() 725 ColorVector &ColorsForBB = BlockColors[BB]; in cloneCommonBlocks() 761 ColorVector &NewColors = BlockColors[NewBlock]; in cloneCommonBlocks() 773 ColorVector &OldColors = BlockColors[OldBlock]; in cloneCommonBlocks() 819 ColorVector &IncomingColors = BlockColors[IncomingBlock]; in cloneCommonBlocks() 902 ColorVector &ColorsForUserBB = BlockColors[UserBB]; in cloneCommonBlocks() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 99 DenseMap<BasicBlock *, ColorVector> BlockColors; member in __anon2a778e0e0111::WinEHPrepare 178 DenseMap<BasicBlock *, ColorVector> BlockColors = colorEHFunclets(*F); in calculateStateNumbersForInvokes() local 184 auto &BBColors = BlockColors[&BB]; in calculateStateNumbersForInvokes() 703 BlockColors = colorEHFunclets(F); in colorFunclets() 707 ColorVector &Colors = BlockColors[&BB]; in colorFunclets() 762 ColorVector &ColorsForBB = BlockColors[BB]; in cloneCommonBlocks() 798 ColorVector &NewColors = BlockColors[NewBlock]; in cloneCommonBlocks() 810 ColorVector &OldColors = BlockColors[OldBlock]; in cloneCommonBlocks() 856 ColorVector &IncomingColors = BlockColors[IncomingBlock]; in cloneCommonBlocks() 929 ColorVector &ColorsForUserBB = BlockColors[UserBB]; in cloneCommonBlocks() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 98 DenseMap<BasicBlock *, ColorVector> BlockColors; member in __anon1f6999220111::WinEHPrepare 177 DenseMap<BasicBlock *, ColorVector> BlockColors = colorEHFunclets(*F); in calculateStateNumbersForInvokes() local 183 auto &BBColors = BlockColors[&BB]; in calculateStateNumbersForInvokes() 681 BlockColors = colorEHFunclets(F); in colorFunclets() 685 ColorVector &Colors = BlockColors[&BB]; in colorFunclets() 740 ColorVector &ColorsForBB = BlockColors[BB]; in cloneCommonBlocks() 776 ColorVector &NewColors = BlockColors[NewBlock]; in cloneCommonBlocks() 788 ColorVector &OldColors = BlockColors[OldBlock]; in cloneCommonBlocks() 834 ColorVector &IncomingColors = BlockColors[IncomingBlock]; in cloneCommonBlocks() 907 ColorVector &ColorsForUserBB = BlockColors[UserBB]; in cloneCommonBlocks() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 434 SafetyInfo->BlockColors = colorEHFunclets(*Fn); in computeLoopSafetyInfo() 541 const auto &BlockColors = SafetyInfo->BlockColors; in isNotUsedInLoop() local 553 if (!BlockColors.empty() && in isNotUsedInLoop() 554 BlockColors.find(const_cast<BasicBlock *>(BB))->second.size() != 1) in isNotUsedInLoop() 590 const auto &BlockColors = SafetyInfo->BlockColors; in CloneInstructionInExitBlock() local 605 if (!BlockColors.empty()) { in CloneInstructionInExitBlock() 606 const ColorVector &CV = BlockColors.find(&ExitBlock)->second; in CloneInstructionInExitBlock()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 1336 const auto &BlockColors = SafetyInfo->getBlockColors(); in isNotUsedOrFreeInLoop() local 1349 if (!BlockColors.empty() && in isNotUsedOrFreeInLoop() 1350 BlockColors.find(const_cast<BasicBlock *>(BB))->second.size() != 1) in isNotUsedOrFreeInLoop() 1370 const auto &BlockColors = SafetyInfo->getBlockColors(); in CloneInstructionInExitBlock() local 1385 if (!BlockColors.empty()) { in CloneInstructionInExitBlock() 1386 const ColorVector &CV = BlockColors.find(&ExitBlock)->second; in CloneInstructionInExitBlock() 1547 const auto &BlockColors = SafetyInfo->getBlockColors(); in splitPredecessorsOfLoopExit() local 1559 if (!BlockColors.empty()) in splitPredecessorsOfLoopExit()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 1385 const auto &BlockColors = SafetyInfo->getBlockColors(); in isNotUsedOrFreeInLoop() local 1398 if (!BlockColors.empty() && in isNotUsedOrFreeInLoop() 1399 BlockColors.find(const_cast<BasicBlock *>(BB))->second.size() != 1) in isNotUsedOrFreeInLoop() 1419 const auto &BlockColors = SafetyInfo->getBlockColors(); in cloneInstructionInExitBlock() local 1434 if (!BlockColors.empty()) { in cloneInstructionInExitBlock() 1435 const ColorVector &CV = BlockColors.find(&ExitBlock)->second; in cloneInstructionInExitBlock() 1596 const auto &BlockColors = SafetyInfo->getBlockColors(); in splitPredecessorsOfLoopExit() local 1608 if (!BlockColors.empty()) in splitPredecessorsOfLoopExit()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 841 DenseMap<BasicBlock *, ColorVector> &BlockColors, in populateEHOperandBundle() argument 855 if (!BlockColors.empty()) { in populateEHOperandBundle() 856 const ColorVector &CV = BlockColors.find(OrigCall->getParent())->second; in populateEHOperandBundle() 910 DenseMap<BasicBlock *, ColorVector> BlockColors; in instrumentOneFunc() local 913 BlockColors = colorEHFunclets(F); in instrumentOneFunc() 937 populateEHOperandBundle(Cand, BlockColors, OpBundles); in instrumentOneFunc()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | MustExecute.h | 61 DenseMap<BasicBlock *, ColorVector> BlockColors; variable
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | LoopUtils.h | 46 DenseMap<BasicBlock *, ColorVector> BlockColors; member
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | MustExecute.h | 62 DenseMap<BasicBlock *, ColorVector> BlockColors; variable
|
/external/llvm-project/llvm/test/Transforms/LICM/ |
D | sinking.ll | 704 ; We do not support splitting a landingpad block if BlockColors is not empty.
|