Home
last modified time | relevance | path

Searched refs:LiveVariables (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp34 llvm::DenseMap<const CFGBlock *, LiveVariables::LivenessValues> blocksEndToLiveness;
35 llvm::DenseMap<const CFGBlock *, LiveVariables::LivenessValues> blocksBeginToLiveness;
36 llvm::DenseMap<const Stmt *, LiveVariables::LivenessValues> stmtsToLiveness;
40 LiveVariables::LivenessValues
41 merge(LiveVariables::LivenessValues valsA,
42 LiveVariables::LivenessValues valsB);
44 LiveVariables::LivenessValues
45 runOnBlock(const CFGBlock *block, LiveVariables::LivenessValues val,
46 LiveVariables::Observer *obs = nullptr);
67 bool LiveVariables::LivenessValues::isLive(const Expr *E) const { in isLive()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h28 class LiveVariables : public ManagedAnalysis {
51 friend class LiveVariables; variable
70 ~LiveVariables() override;
73 static std::unique_ptr<LiveVariables>
100 static std::unique_ptr<LiveVariables>
108 LiveVariables(void *impl);
112 class RelaxedLiveVariables : public LiveVariables {
114 static std::unique_ptr<LiveVariables>
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveVariables.cpp74 LiveVariables::LiveVariables(MachineFunction &MF) in LiveVariables() function in LiveVariables
79 void LiveVariables::print(raw_ostream &OS) const { in print()
88 LiveVariables::VarInfo::findKill(const MachineBasicBlock *MBB) const { in findKill()
95 void LiveVariables::VarInfo::print(raw_ostream &OS) const { in print()
110 LLVM_DUMP_METHOD void LiveVariables::VarInfo::dump() const { print(dbgs()); } in dump()
114 LiveVariables::VarInfo &LiveVariables::getVarInfo(Register Reg) { in getVarInfo()
120 void LiveVariables::MarkVirtRegAliveInBlock( in MarkVirtRegAliveInBlock()
145 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo &VRInfo, in MarkVirtRegAliveInBlock()
157 void LiveVariables::HandleVirtRegUse(Register Reg, MachineBasicBlock *MBB, in HandleVirtRegUse()
208 void LiveVariables::HandleVirtRegDef(Register Reg, MachineInstr &MI) { in HandleVirtRegDef()
[all …]
H A DPHIElimination.cpp70 LiveVariables *LV = nullptr;
222 LiveVariables::VarInfo &VI = LV->getVarInfo(VirtReg); in run()
407 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg); in LowerPHINode()
567 LiveVariables::VarInfo &SrcVI = LV->getVarInfo(SrcReg); in LowerPHINode()
568 LiveVariables::VarInfo &IncomingVI = LV->getVarInfo(IncomingReg); in LowerPHINode()
H A DTwoAddressInstructionPass.cpp98 LiveVariables *LV = nullptr;
1816 LiveVariables::VarInfo &SrcInfo = LV->getVarInfo(RegB); in processStatepoint()
1817 LiveVariables::VarInfo &DstInfo = LV->getVarInfo(RegA); in processStatepoint()
H A DMachineBasicBlock.cpp1184 LiveVariables *LV = GET_RESULT(LiveVariables, getLV, ); in SplitCriticalEdge()
H A DMachineVerifier.cpp102 MachineVerifier(const char *b, LiveVariables *LiveVars, in MachineVerifier()
226 LiveVariables *LiveVars = nullptr;
2821 LiveVariables::VarInfo &VI = LiveVars->getVarInfo(Reg); in checkLiveness()
3352 LiveVariables::VarInfo &VI = LiveVars->getVarInfo(Reg); in verifyLiveVariables()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveVariables.h48 class LiveVariables {
145 LiveVariables() = default;
184 LiveVariables(MachineFunction &MF);
309 using Result = LiveVariables;
325 LiveVariables LV;
343 LiveVariables &getLV() { return LV; } in getLV()
H A DTargetInstrInfo.h46 class LiveVariables; variable
441 LiveVariables *LV, in convertToThreeAddress()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIOptimizeVGPRLiveRange.cpp94 LiveVariables *LV = nullptr;
244 LiveVariables::VarInfo &VI = LV->getVarInfo(MOReg); in collectCandidateRegisters()
253 LiveVariables::VarInfo &VI = LV->getVarInfo(MOReg); in collectCandidateRegisters()
283 LiveVariables::VarInfo &VI = LV->getVarInfo(Reg); in collectCandidateRegisters()
376 LiveVariables::VarInfo &OldVarInfo = LV->getVarInfo(MOReg); in collectWaterfallCandidateRegisters()
417 LiveVariables::VarInfo &OldVarInfo = LV->getVarInfo(Reg); in updateLiveRangeInThenRegion()
473 LiveVariables::VarInfo &NewVarInfo = LV->getVarInfo(NewReg); in updateLiveRangeInElseRegion()
474 LiveVariables::VarInfo &OldVarInfo = LV->getVarInfo(Reg); in updateLiveRangeInElseRegion()
545 LiveVariables::VarInfo &OldVarInfo = LV->getVarInfo(Reg); in optimizeLiveRange()
582 LiveVariables::VarInfo &NewVarInfo = LV->getVarInfo(NewReg); in optimizeWaterfallLiveRange()
[all …]
H A DSILowerControlFlow.cpp76 LiveVariables *LV = nullptr;
537 LiveVariables::VarInfo &VI = LV->getVarInfo(Reg); in emitEndCf()
H A DSIInstrInfo.h32 class LiveVariables; variable
401 MachineInstr *convertToThreeAddress(MachineInstr &MI, LiveVariables *LV,
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp72 LiveVariables.emplace_back(LocExpr, VarName, U, FuncDie); in addVariable()
80 LiveVariables.emplace_back(WholeFuncExpr, VarName, U, FuncDie); in addVariable()
133 for (const LiveVariable &LV : LiveVariables) { in dump()
163 LiveVariable &LV = LiveVariables[ActiveCols[ColIdx].VarIdx]; in update()
178 for (unsigned VarIdx = 0, End = LiveVariables.size(); VarIdx < End; in update()
182 LiveVariable &LV = LiveVariables[VarIdx]; in update()
288 << LiveVariables[ActiveCols[ColIdx].VarIdx].VarName; in printBetweenInsts()
292 LiveVariables[ActiveCols[ColIdx].VarIdx].print(OS, MRI); in printBetweenInsts()
H A DSourcePrinter.h58 std::vector<LiveVariable> LiveVariables; variable
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.h314 LiveVariables *LV, LiveIntervals *LIS) const;
326 MachineInstr *convertToThreeAddress(MachineInstr &MI, LiveVariables *LV,
658 LiveVariables *LV,
H A DX86InstrInfo.cpp1163 LiveVariables *LV, LiveIntervals *LIS) const { in classifyLEAReg()
1226 LiveVariables *LV, in convertToThreeAddressWithLEA()
1407 LiveVariables *LV, in convertToThreeAddress()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1498 static void CreateGCRelocates(ArrayRef<Value *> LiveVariables, in CreateGCRelocates() argument
1502 if (LiveVariables.empty()) in CreateGCRelocates()
1537 for (unsigned i = 0; i < LiveVariables.size(); i++) { in CreateGCRelocates()
1539 Value *BaseIdx = Builder.getInt32(FindIndex(LiveVariables, BasePtrs[i])); in CreateGCRelocates()
1542 Type *Ty = LiveVariables[i]->getType(); in CreateGCRelocates()
1550 suffixed_name_or(LiveVariables[i], ".relocated", "")); in CreateGCRelocates()
1644 const SmallVectorImpl<Value *> &LiveVariables, in makeStatepointExplicitImpl() argument
1649 assert(BasePtrs.size() == LiveVariables.size()); in makeStatepointExplicitImpl()
1657 ArrayRef<Value *> GCArgs(LiveVariables); in makeStatepointExplicitImpl()
1880 CreateGCRelocates(LiveVariables, BasePtrs, ExceptionalToken, Builder, GC); in makeStatepointExplicitImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Passes/
H A DMachinePassRegistry.def92 // LiveVariables currently requires pure SSA form.
94 // LiveVariables can be removed completely, and LiveIntervals can be directly
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.h291 MachineInstr *convertToThreeAddress(MachineInstr &MI, LiveVariables *LV,
H A DSystemZInstrInfo.cpp1078 SystemZInstrInfo::convertToThreeAddress(MachineInstr &MI, LiveVariables *LV, in convertToThreeAddress()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.h235 MachineInstr *convertToThreeAddress(MachineInstr &MI, LiveVariables *LV,
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.h128 MachineInstr *convertToThreeAddress(MachineInstr &MI, LiveVariables *LV,
H A DARMBaseInstrInfo.cpp180 ARMBaseInstrInfo::convertToThreeAddress(MachineInstr &MI, LiveVariables *LV, in convertToThreeAddress()
320 LiveVariables::VarInfo &VI = LV->getVarInfo(Reg); in convertToThreeAddress()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp114 LiveVariables *LV;
/freebsd/lib/clang/libclang/
H A DMakefile177 SRCS_MIN+= Analysis/LiveVariables.cpp

12