Lines Matching refs:BlockInfo
1143 struct BlockInfo { struct in __anon71b57efa0211::AssignmentTrackingLowering
1176 const_cast<const BlockInfo *>(this)->getAssignmentMap(Kind)); in getAssignmentMap()
1221 bool operator==(const BlockInfo &Other) const { in operator ==() argument
1228 bool operator!=(const BlockInfo &Other) const { return !(*this == Other); } in operator !=() argument
1257 static BlockInfo join(const BlockInfo &A, const BlockInfo &B, int NumVars) { in join() argument
1273 BlockInfo Join; in join()
1298 DenseMap<const BasicBlock *, BlockInfo> LiveIn;
1299 DenseMap<const BasicBlock *, BlockInfo> LiveOut;
1337 BlockInfo joinBlockInfo(const BlockInfo &A, const BlockInfo &B);
1343 void process(BasicBlock &BB, BlockInfo *LiveSet);
1348 void processNonDbgInstruction(Instruction &I, BlockInfo *LiveSet);
1349 void processDbgInstruction(DbgInfoIntrinsic &I, BlockInfo *LiveSet);
1352 void processTaggedInstruction(Instruction &I, BlockInfo *LiveSet);
1355 void processUntaggedInstruction(Instruction &I, BlockInfo *LiveSet);
1356 void processDbgAssign(AssignRecord Assign, BlockInfo *LiveSet);
1357 void processDPValue(DPValue &DPV, BlockInfo *LiveSet);
1359 BlockInfo *LiveSet);
1361 void addMemDef(BlockInfo *LiveSet, VariableID Var, const Assignment &AV);
1363 void addDbgDef(BlockInfo *LiveSet, VariableID Var, const Assignment &AV);
1367 void setLocKind(BlockInfo *LiveSet, VariableID Var, LocKind K);
1370 LocKind getLocKind(BlockInfo *LiveSet, VariableID Var);
1372 bool hasVarWithAssignment(BlockInfo *LiveSet, BlockInfo::AssignmentKind Kind,
1407 void AssignmentTrackingLowering::setLocKind(BlockInfo *LiveSet, VariableID Var, in setLocKind()
1409 auto SetKind = [this](BlockInfo *LiveSet, VariableID Var, LocKind K) { in setLocKind()
1421 AssignmentTrackingLowering::getLocKind(BlockInfo *LiveSet, VariableID Var) { in getLocKind()
1425 void AssignmentTrackingLowering::addMemDef(BlockInfo *LiveSet, VariableID Var, in addMemDef()
1427 LiveSet->setAssignment(BlockInfo::Stack, Var, AV); in addMemDef()
1435 LiveSet->setAssignment(BlockInfo::Stack, Frag, FragAV); in addMemDef()
1438 void AssignmentTrackingLowering::addDbgDef(BlockInfo *LiveSet, VariableID Var, in addDbgDef()
1440 LiveSet->setAssignment(BlockInfo::Debug, Var, AV); in addDbgDef()
1448 LiveSet->setAssignment(BlockInfo::Debug, Frag, FragAV); in addDbgDef()
1467 BlockInfo *LiveSet, BlockInfo::AssignmentKind Kind, VariableID Var, in hasVarWithAssignment()
1597 Instruction &I, AssignmentTrackingLowering::BlockInfo *LiveSet) { in processNonDbgInstruction()
1605 Instruction &I, AssignmentTrackingLowering::BlockInfo *LiveSet) { in processUntaggedInstruction()
1674 Instruction &I, AssignmentTrackingLowering::BlockInfo *LiveSet) { in processTaggedInstruction()
1701 if (hasVarWithAssignment(LiveSet, BlockInfo::Debug, Var, AV)) { in processTaggedInstruction()
1731 Assignment DbgAV = LiveSet->getAssignment(BlockInfo::Debug, Var); in processTaggedInstruction()
1764 BlockInfo *LiveSet) { in processDbgAssign()
1781 if (hasVarWithAssignment(LiveSet, BlockInfo::Stack, Var, AV)) { in processDbgAssign()
1812 BlockInfo *LiveSet) { in processDbgValue()
1848 DbgInfoIntrinsic &I, AssignmentTrackingLowering::BlockInfo *LiveSet) { in processDbgInstruction()
1863 DPValue &DPV, AssignmentTrackingLowering::BlockInfo *LiveSet) { in processDPValue()
1888 void AssignmentTrackingLowering::process(BasicBlock &BB, BlockInfo *LiveSet) { in process()
2015 AssignmentTrackingLowering::BlockInfo
2016 AssignmentTrackingLowering::joinBlockInfo(const BlockInfo &A, in joinBlockInfo()
2017 const BlockInfo &B) { in joinBlockInfo()
2018 return BlockInfo::join(A, B, TrackedVariablesVectorSize); in joinBlockInfo()
2039 auto It = LiveIn.try_emplace(&BB, BlockInfo()); in join()
2048 const BlockInfo &PredLiveOut = LiveOut.find(VisitedPreds[0])->second; in join()
2064 const BlockInfo &PredLiveOut0 = LiveOut.find(VisitedPreds[0])->second; in join()
2065 const BlockInfo &PredLiveOut1 = LiveOut.find(VisitedPreds[1])->second; in join()
2066 BlockInfo BBLiveIn = joinBlockInfo(PredLiveOut0, PredLiveOut1); in join()
2345 BlockInfo LiveSet = LiveIn[BB]; in run()