Lines Matching refs:BlockInfo
1144 struct BlockInfo { struct in __anon3afac2c40211::AssignmentTrackingLowering
1177 const_cast<const BlockInfo *>(this)->getAssignmentMap(Kind)); in getAssignmentMap()
1222 bool operator==(const BlockInfo &Other) const { in operator ==() argument
1229 bool operator!=(const BlockInfo &Other) const { return !(*this == Other); } in operator !=() argument
1258 static BlockInfo join(const BlockInfo &A, const BlockInfo &B, int NumVars) { in join() argument
1274 BlockInfo Join; in join()
1299 DenseMap<const BasicBlock *, BlockInfo> LiveIn;
1300 DenseMap<const BasicBlock *, BlockInfo> LiveOut;
1338 BlockInfo joinBlockInfo(const BlockInfo &A, const BlockInfo &B);
1344 void process(BasicBlock &BB, BlockInfo *LiveSet);
1349 void processNonDbgInstruction(Instruction &I, BlockInfo *LiveSet);
1350 void processDbgInstruction(DbgInfoIntrinsic &I, BlockInfo *LiveSet);
1353 void processTaggedInstruction(Instruction &I, BlockInfo *LiveSet);
1356 void processUntaggedInstruction(Instruction &I, BlockInfo *LiveSet);
1357 void processDbgAssign(AssignRecord Assign, BlockInfo *LiveSet);
1358 void processDbgVariableRecord(DbgVariableRecord &DVR, BlockInfo *LiveSet);
1361 BlockInfo *LiveSet);
1363 void addMemDef(BlockInfo *LiveSet, VariableID Var, const Assignment &AV);
1365 void addDbgDef(BlockInfo *LiveSet, VariableID Var, const Assignment &AV);
1369 void setLocKind(BlockInfo *LiveSet, VariableID Var, LocKind K);
1372 LocKind getLocKind(BlockInfo *LiveSet, VariableID Var);
1374 bool hasVarWithAssignment(BlockInfo *LiveSet, BlockInfo::AssignmentKind Kind,
1409 void AssignmentTrackingLowering::setLocKind(BlockInfo *LiveSet, VariableID Var, in setLocKind()
1411 auto SetKind = [this](BlockInfo *LiveSet, VariableID Var, LocKind K) { in setLocKind()
1423 AssignmentTrackingLowering::getLocKind(BlockInfo *LiveSet, VariableID Var) { in getLocKind()
1427 void AssignmentTrackingLowering::addMemDef(BlockInfo *LiveSet, VariableID Var, in addMemDef()
1429 LiveSet->setAssignment(BlockInfo::Stack, Var, AV); in addMemDef()
1437 LiveSet->setAssignment(BlockInfo::Stack, Frag, FragAV); in addMemDef()
1440 void AssignmentTrackingLowering::addDbgDef(BlockInfo *LiveSet, VariableID Var, in addDbgDef()
1442 LiveSet->setAssignment(BlockInfo::Debug, Var, AV); in addDbgDef()
1450 LiveSet->setAssignment(BlockInfo::Debug, Frag, FragAV); in addDbgDef()
1469 BlockInfo *LiveSet, BlockInfo::AssignmentKind Kind, VariableID Var, in hasVarWithAssignment()
1599 Instruction &I, AssignmentTrackingLowering::BlockInfo *LiveSet) { in processNonDbgInstruction()
1607 Instruction &I, AssignmentTrackingLowering::BlockInfo *LiveSet) { in processUntaggedInstruction()
1676 Instruction &I, AssignmentTrackingLowering::BlockInfo *LiveSet) { in processTaggedInstruction()
1703 if (hasVarWithAssignment(LiveSet, BlockInfo::Debug, Var, AV)) { in processTaggedInstruction()
1733 Assignment DbgAV = LiveSet->getAssignment(BlockInfo::Debug, Var); in processTaggedInstruction()
1766 BlockInfo *LiveSet) { in processDbgAssign()
1783 if (hasVarWithAssignment(LiveSet, BlockInfo::Stack, Var, AV)) { in processDbgAssign()
1814 BlockInfo *LiveSet) { in processDbgValue()
1850 DbgInfoIntrinsic &I, AssignmentTrackingLowering::BlockInfo *LiveSet) { in processDbgInstruction()
1865 DbgVariableRecord &DVR, AssignmentTrackingLowering::BlockInfo *LiveSet) { in processDbgVariableRecord()
1890 void AssignmentTrackingLowering::process(BasicBlock &BB, BlockInfo *LiveSet) { in process()
2022 AssignmentTrackingLowering::BlockInfo
2023 AssignmentTrackingLowering::joinBlockInfo(const BlockInfo &A, in joinBlockInfo()
2024 const BlockInfo &B) { in joinBlockInfo()
2025 return BlockInfo::join(A, B, TrackedVariablesVectorSize); in joinBlockInfo()
2046 auto It = LiveIn.try_emplace(&BB, BlockInfo()); in join()
2055 const BlockInfo &PredLiveOut = LiveOut.find(VisitedPreds[0])->second; in join()
2071 const BlockInfo &PredLiveOut0 = LiveOut.find(VisitedPreds[0])->second; in join()
2072 const BlockInfo &PredLiveOut1 = LiveOut.find(VisitedPreds[1])->second; in join()
2073 BlockInfo BBLiveIn = joinBlockInfo(PredLiveOut0, PredLiveOut1); in join()
2352 BlockInfo LiveSet = LiveIn[BB]; in run()