Home
last modified time | relevance | path

Searched refs:BlockColors (Results 1 – 8 of 8) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
HDObjCARCContract.cpp88 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 …]
HDObjCARCOpts.cpp514 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 …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
HDX86WinEHState.cpp73 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 …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDWinEHPrepare.cpp98 DenseMap<BasicBlock *, ColorVector> BlockColors; member in __anon1b2073750111::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 …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
HDEHPersonalities.cpp80 DenseMap<BasicBlock *, ColorVector> BlockColors; in colorEHFunclets() local
110 ColorVector &Colors = BlockColors[Visiting]; in colorEHFunclets()
134 return BlockColors; in colorEHFunclets()
HDMustExecute.cpp33 return BlockColors; in getBlockColors()
37 ColorVector &ColorsForNewBlock = BlockColors[New]; in copyColors()
38 ColorVector &ColorsForOldBlock = BlockColors[Old]; in copyColors()
110 BlockColors = colorEHFunclets(*Fn); in computeBlockColors()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
HDLICM.cpp1336 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()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
HDMustExecute.h61 DenseMap<BasicBlock *, ColorVector> BlockColors; variable