Home
last modified time | relevance | path

Searched refs:SwitchLowering (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp46 void SwitchCG::SwitchLowering::findJumpTables(CaseClusterVector &Clusters, in findJumpTables()
192 bool SwitchCG::SwitchLowering::buildJumpTable(const CaseClusterVector &Clusters, in buildJumpTable()
268 void SwitchCG::SwitchLowering::findBitTestClusters(CaseClusterVector &Clusters, in findBitTestClusters()
367 bool SwitchCG::SwitchLowering::buildBitTests(CaseClusterVector &Clusters, in buildBitTests()
499 unsigned SwitchCG::SwitchLowering::caseClusterRank(const CaseCluster &CC, in caseClusterRank()
511 llvm::SwitchCG::SwitchLowering::SplitWorkItemInfo
512 SwitchCG::SwitchLowering::computeSplitWorkItemInfo( in computeSplitWorkItemInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Coroutines/
H A DCoroShape.h153 SwitchLoweringStorage SwitchLowering; member
176 return SwitchLowering.IndexField; in getSwitchIndexField()
246 return SwitchLowering.PromiseAlloca; in getPromiseAlloca()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp296 SwitchLowering.HasFinalSuspend = HasFinalSuspend; in analyze()
297 SwitchLowering.HasUnwindCoroEnd = HasUnwindCoroEnd; in analyze()
300 SwitchLowering.ResumeSwitch = nullptr; in analyze()
301 SwitchLowering.PromiseAlloca = SwitchId->getPromise(); in analyze()
302 SwitchLowering.ResumeEntryBlock = nullptr; in analyze()
305 if (SwitchLowering.HasFinalSuspend && in analyze()
H A DCoroFrame.cpp724 unsigned IndexIndex = Shape.SwitchLowering.IndexField; in buildFrameDebugInfo()
770 {Shape.SwitchLowering.IndexAlign, Shape.SwitchLowering.IndexOffset}}); in buildFrameDebugInfo()
938 Shape.SwitchLowering.IndexField = IndexField.LayoutFieldIndex; in buildFrameType()
939 Shape.SwitchLowering.IndexAlign = IndexField.Alignment.value(); in buildFrameType()
940 Shape.SwitchLowering.IndexOffset = IndexField.Offset; in buildFrameType()
1260 if (Shape.ABI == coro::ABI::Switch && Shape.SwitchLowering.PromiseAlloca) { in insertSpills()
1261 AllocaInst *PA = Shape.SwitchLowering.PromiseAlloca; in insertSpills()
2009 Shape.SwitchLowering.PromiseAlloca) { in normalizeCoroutine()
H A DCoroSplit.cpp333 if (Shape.SwitchLowering.HasUnwindCoroEnd && in markCoroutineAsDone()
334 Shape.SwitchLowering.HasFinalSuspend) { in markCoroutineAsDone()
409 Shape.SwitchLowering.HasFinalSuspend); in handleFinalSuspend()
411 if (isSwitchDestroyFunction() && Shape.SwitchLowering.HasUnwindCoroEnd) in handleFinalSuspend()
414 auto *Switch = cast<SwitchInst>(VMap[Shape.SwitchLowering.ResumeSwitch]); in handleFinalSuspend()
705 cast<BasicBlock>(VMap[Shape.SwitchLowering.ResumeEntryBlock]); in replaceEntryBlock()
1065 if (Shape.SwitchLowering.HasFinalSuspend) in create()
1351 assert(Shape.SwitchLowering.HasFinalSuspend); in simplifySuspendPoints()
1511 Shape.SwitchLowering.ResumeSwitch = Switch; in createResumeEntryBlock()
1597 Shape.SwitchLowering.ResumeEntryBlock = NewEntry; in createResumeEntryBlock()
H A DSpillUtils.cpp425 if (AI == Shape.SwitchLowering.PromiseAlloca) in collectFrameAlloca()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSwitchLoweringUtils.h258 class SwitchLowering {
260 SwitchLowering(FunctionLoweringInfo &funcinfo) : FuncInfo(funcinfo) {} in SwitchLowering() function
317 virtual ~SwitchLowering() = default;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h642 class GISelSwitchLowering : public SwitchCG::SwitchLowering {
645 : SwitchLowering(funcinfo), IRT(irt) { in GISelSwitchLowering()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h231 class SDAGSwitchLowering : public SwitchCG::SwitchLowering {
234 : SwitchCG::SwitchLowering(funcinfo), SDB(sdb) {} in SDAGSwitchLowering()