/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 83 const DenseMap<BasicBlock *, ColorVector> &BlockColors); 95 const DenseMap<BasicBlock *, ColorVector> &BlockColors); 319 const DenseMap<BasicBlock *, ColorVector> &BlockColors) { in createCallInst() argument 321 if (!BlockColors.empty()) { in createCallInst() 322 const ColorVector &CV = BlockColors.find(InsertBefore->getParent())->second; in createCallInst() 361 const DenseMap<BasicBlock *, ColorVector> &BlockColors) { in tryToContractReleaseIntoStoreStrong() argument 413 CallInst *StoreStrong = createCallInst(Decl, Args, "", Store, BlockColors); in tryToContractReleaseIntoStoreStrong() 439 const DenseMap<BasicBlock *, ColorVector> &BlockColors) { in tryToPeepholeInstruction() argument 490 createCallInst(IA, None, "", Inst, BlockColors); in tryToPeepholeInstruction() 515 tryToContractReleaseIntoStoreStrong(Inst, Iter, BlockColors); in tryToPeepholeInstruction() [all …]
|
D | ObjCARCOpts.cpp | 694 const DenseMap<BasicBlock *, ColorVector> &BlockColors) { in CloneCallInstForBB() argument 704 if (!BlockColors.empty()) { in CloneCallInstForBB() 705 const ColorVector &CV = BlockColors.find(&BB)->second; in CloneCallInstForBB() 723 DenseMap<BasicBlock *, ColorVector> BlockColors; in OptimizeIndividualCalls() local 726 BlockColors = colorEHFunclets(F); in OptimizeIndividualCalls() 974 *CInst, *InsertPos->getParent(), BlockColors)); in OptimizeIndividualCalls()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 79 int getBaseStateForBB(DenseMap<BasicBlock *, ColorVector> &BlockColors, 81 int getStateForCallSite(DenseMap<BasicBlock *, ColorVector> &BlockColors, 520 DenseMap<BasicBlock *, ColorVector> &BlockColors, WinEHFuncInfo &FuncInfo, in getBaseStateForBB() argument 523 auto &BBColors = BlockColors[BB]; in getBaseStateForBB() 539 DenseMap<BasicBlock *, ColorVector> &BlockColors, WinEHFuncInfo &FuncInfo, in getStateForCallSite() argument 548 return getBaseStateForBB(BlockColors, FuncInfo, CS.getParent()); in getStateForCallSite() 666 DenseMap<BasicBlock *, ColorVector> BlockColors = colorEHFunclets(F); in addStateStores() local 687 int State = getStateForCallSite(BlockColors, FuncInfo, CS); in addStateStores() 740 auto &BBColors = BlockColors[BB]; in addStateStores() 754 int State = getStateForCallSite(BlockColors, FuncInfo, CS); 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-7.0/llvm/lib/Analysis/ |
D | EHPersonalities.cpp | 81 DenseMap<BasicBlock *, ColorVector> BlockColors; in colorEHFunclets() local 111 ColorVector &Colors = BlockColors[Visiting]; in colorEHFunclets() 135 return BlockColors; in colorEHFunclets()
|
D | MustExecute.cpp | 56 SafetyInfo->BlockColors = colorEHFunclets(*Fn); in computeLoopSafetyInfo()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 97 DenseMap<BasicBlock *, ColorVector> BlockColors; member in __anon314b9d380111::WinEHPrepare 176 DenseMap<BasicBlock *, ColorVector> BlockColors = colorEHFunclets(*F); in calculateStateNumbersForInvokes() local 182 auto &BBColors = BlockColors[&BB]; in calculateStateNumbersForInvokes() 680 BlockColors = colorEHFunclets(F); in colorFunclets() 684 ColorVector &Colors = BlockColors[&BB]; in colorFunclets() 739 ColorVector &ColorsForBB = BlockColors[BB]; in cloneCommonBlocks() 775 ColorVector &NewColors = BlockColors[NewBlock]; in cloneCommonBlocks() 787 ColorVector &OldColors = BlockColors[OldBlock]; in cloneCommonBlocks() 833 ColorVector &IncomingColors = BlockColors[IncomingBlock]; in cloneCommonBlocks() 906 ColorVector &ColorsForUserBB = BlockColors[UserBB]; in cloneCommonBlocks() [all …]
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 733 const auto &BlockColors = SafetyInfo->BlockColors; in isNotUsedOrFreeInLoop() local 746 if (!BlockColors.empty() && in isNotUsedOrFreeInLoop() 747 BlockColors.find(const_cast<BasicBlock *>(BB))->second.size() != 1) in isNotUsedOrFreeInLoop() 768 const auto &BlockColors = SafetyInfo->BlockColors; in CloneInstructionInExitBlock() local 783 if (!BlockColors.empty()) { in CloneInstructionInExitBlock() 784 const ColorVector &CV = BlockColors.find(&ExitBlock)->second; in CloneInstructionInExitBlock() 848 if (!SafetyInfo->BlockColors.empty() && BB->getFirstNonPHI()->isEHPad()) in canSplitPredecessors() 902 auto &BlockColors = SafetyInfo->BlockColors; in splitPredecessorsOfLoopExit() local 914 if (!BlockColors.empty()) { in splitPredecessorsOfLoopExit() 918 ColorVector &ColorsForNewBlock = BlockColors[NewPred]; in splitPredecessorsOfLoopExit() [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-7.0/llvm/include/llvm/Analysis/ |
D | MustExecute.h | 44 DenseMap<BasicBlock *, ColorVector> BlockColors; member
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | LoopUtils.h | 46 DenseMap<BasicBlock *, ColorVector> BlockColors; member
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LICM/ |
D | sinking.ll | 712 ; We do not support splitting a landingpad block if BlockColors is not empty.
|