-
Notifications
You must be signed in to change notification settings - Fork 12.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SandboxIR][Tracker] Track InsertIntoBB #101595
Conversation
@@ -291,6 +291,22 @@ class MoveInstr : public IRChangeBase { | |||
#endif // NDEBUG | |||
}; | |||
|
|||
class InsertIntoBB : public IRChangeBase { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
class InsertIntoBB final : public IRChangeBase {
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I think all of them should be marked as final
.
void revert() final; | ||
void accept() final {} | ||
#ifndef NDEBUG | ||
void dump(raw_ostream &OS) const final { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you may consider some CRTP to automate dump methods, like
StringRef Name = getTypeName<DerivedT>(); |
(still doesn't address the gdb issue of not being able to call methods in parent classes, but something to think about)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I have to fix both these dumps and the Value dumps.
This tracks the insertion of an Instruction into a BasicBlock.
* 'main' of https://github.com/llvm/llvm-project: [RISCV] Improve hasAllNBitUsers for users of SLLI. [RISCV] Invert if conditions in the switch in RISCVDAGToDAGISel::hasAllNBitUsers. NFC [Transforms] Construct SmallVector with ArrayRef (NFC) (llvm#101851) [RISCV] Capitalize some variable names. NFC [sanitizer_common] Fix UnwindFast on SPARC (llvm#101634) [builtins] Fix divtc3.c etc. compilation on Solaris/SPARC with gcc (llvm#101662) [NFC][asan] Track current dynamic init module (llvm#101597) [libc] enable most of the entrypoints on aarch64 (llvm#101797) [SandboxIR][Tracker] Track InsertIntoBB (llvm#101595) [SCEV] Use const SCEV * explicitly in more places. [ELF] Move outputSections into Ctx. NFC [ELF] Move ElfSym into Ctx. NFC [ELF] Move Out into Ctx. NFC [test][asan] Fix the test checks [NFC][asan] Switch from list to DynInitGlobalsByModule (llvm#101596) Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
This patch implements tracking for the insertion of a sandboxir::Instruction into a sandboxir::BasicBlock.
This patch implements tracking for the insertion of a sandboxir::Instruction into a sandboxir::BasicBlock.
This patch implements tracking for the insertion of a sandboxir::Instruction into a sandboxir::BasicBlock.