Home
last modified time | relevance | path

Searched refs:SwitchLowering (Results 1 – 8 of 8) 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/lib/Transforms/Coroutines/
H A DCoroutines.cpp300 this->SwitchLowering.HasFinalSuspend = HasFinalSuspend; in buildFrom()
301 this->SwitchLowering.HasUnwindCoroEnd = HasUnwindCoroEnd; in buildFrom()
302 this->SwitchLowering.ResumeSwitch = nullptr; in buildFrom()
303 this->SwitchLowering.PromiseAlloca = SwitchId->getPromise(); in buildFrom()
304 this->SwitchLowering.ResumeEntryBlock = nullptr; in buildFrom()
437 SwitchLowering.HasFinalSuspend && in buildFrom()
H A DCoroInternal.h149 SwitchLoweringStorage SwitchLowering; member
173 return SwitchLowering.IndexField; in getSwitchIndexField()
245 return SwitchLowering.PromiseAlloca; in getPromiseAlloca()
H A DCoroSplit.cpp424 if (Shape.SwitchLowering.HasUnwindCoroEnd && in markCoroutineAsDone()
425 Shape.SwitchLowering.HasFinalSuspend) { in markCoroutineAsDone()
500 Shape.SwitchLowering.HasFinalSuspend); in handleFinalSuspend()
502 if (isSwitchDestroyFunction() && Shape.SwitchLowering.HasUnwindCoroEnd) in handleFinalSuspend()
505 auto *Switch = cast<SwitchInst>(VMap[Shape.SwitchLowering.ResumeSwitch]); in handleFinalSuspend()
798 cast<BasicBlock>(VMap[Shape.SwitchLowering.ResumeEntryBlock]); in replaceEntryBlock()
1134 if (Shape.SwitchLowering.HasFinalSuspend) in create()
1405 assert(Shape.SwitchLowering.HasFinalSuspend); in simplifySuspendPoints()
1495 Shape.SwitchLowering.ResumeSwitch = Switch; in createResumeEntryBlock()
1563 Shape.SwitchLowering.ResumeEntryBlock = NewEntry; in createResumeEntryBlock()
H A DCoroFrame.cpp1163 unsigned IndexIndex = Shape.SwitchLowering.IndexField; in buildFrameDebugInfo()
1208 {Shape.SwitchLowering.IndexAlign, Shape.SwitchLowering.IndexOffset}}); in buildFrameDebugInfo()
1378 Shape.SwitchLowering.IndexField = IndexField.LayoutFieldIndex; in buildFrameType()
1379 Shape.SwitchLowering.IndexAlign = IndexField.Alignment.value(); in buildFrameType()
1380 Shape.SwitchLowering.IndexOffset = IndexField.Offset; in buildFrameType()
2060 if (Shape.ABI == coro::ABI::Switch && Shape.SwitchLowering.PromiseAlloca) { in insertSpills()
2061 AllocaInst *PA = Shape.SwitchLowering.PromiseAlloca; in insertSpills()
2847 if (AI == Shape.SwitchLowering.PromiseAlloca) in collectFrameAlloca()
3106 Shape.SwitchLowering.PromiseAlloca) { in buildCoroutineFrame()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSwitchLoweringUtils.h253 class SwitchLowering { in init()
255 SwitchLowering(FunctionLoweringInfo &funcinfo) : FuncInfo(funcinfo) {} in init()
312 virtual ~SwitchLowering() = default;
251 SwitchLowering(FunctionLoweringInfo &funcinfo) : FuncInfo(funcinfo) {} SwitchLowering() function
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h645 class GISelSwitchLowering : public SwitchCG::SwitchLowering {
648 : SwitchLowering(funcinfo), IRT(irt) { in GISelSwitchLowering()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h232 class SDAGSwitchLowering : public SwitchCG::SwitchLowering {
235 : SwitchCG::SwitchLowering(funcinfo), SDB(sdb) {} in SDAGSwitchLowering()