llvm-project/llvm/lib/IR
Dmitry Vassiliev d97d4d8d75 [NFC][IR] Value: assert this->takeName(this)
Need to add an assert about this->takeName(this). This restriction is already documented, so this is just an NFC check.
Without this assertion (as prescribed by original comments for this API), name deletion or down-stream assert failures may occur in other routines: e.g. at the beginning of replaceAllUsesWith() below.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D119636
2022-02-13 21:47:37 +03:00
..
AbstractCallSite.cpp [IR] Migrate from getNumArgOperands to arg_size (NFC) 2021-10-04 08:40:25 -07:00
AsmWriter.cpp [llvm] Use = default (NFC) 2022-02-06 22:18:35 -08:00
Assumptions.cpp [Attributor] Introduce AAAssumptionInfo to propagate assumptions 2021-11-09 17:39:18 -05:00
AttributeImpl.h [IR] Split vscale_range interface 2021-12-07 10:38:26 +00:00
Attributes.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
AutoUpgrade.cpp [AutoUpgrade] Handle remangling upgrade for ptr.annotation 2022-02-08 16:52:05 +01:00
BasicBlock.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
BuiltinGCs.cpp [llvm] Use = default (NFC) 2022-02-06 22:18:35 -08:00
CMakeLists.txt Reapply CycleInfo: Introduce cycles as a generalization of loops 2021-12-10 14:36:43 +05:30
Comdat.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
ConstantFold.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
ConstantFold.h [ConstantFolding] Use ICmpInst::Predicate instead of plain integer 2021-12-30 14:31:44 +07:00
ConstantRange.cpp [ConstantRange] Add exact union/intersect (NFC) 2021-11-07 21:46:06 +01:00
Constants.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
ConstantsContext.h [IR] Added operator delete to subclasses of User to avoid UB 2021-07-08 11:59:22 +02:00
Core.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
DIBuilder.cpp Adding DiBuilder interface for assumed length strings 2022-02-11 14:40:02 -05:00
DataLayout.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
DebugInfo.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
DebugInfoMetadata.cpp Reduce dependencies on llvm/BinaryFormat/Dwarf.h 2022-02-04 11:44:03 +01:00
DebugLoc.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
DiagnosticHandler.cpp [llvm] Replace report_fatal_error(std::string) uses with report_fatal_error(Twine) 2021-10-06 12:04:30 +01:00
DiagnosticInfo.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
DiagnosticPrinter.cpp [IR] Fix a few incorrect paths in file header comments. NFC 2021-10-15 09:18:57 -07:00
Dominators.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
FPEnv.cpp [NFC] Rename functions to match our naming scheme. 2021-10-07 14:12:41 -04:00
Function.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
GCStrategy.cpp [GC][NFC] Make getGCStrategy by name available in IR 2021-08-02 14:26:04 +07:00
GVMaterializer.cpp [llvm] Use = default (NFC) 2022-02-06 22:18:35 -08:00
Globals.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
IRBuilder.cpp [llvm] Use = default (NFC) 2022-02-06 22:18:35 -08:00
IRPrintingPasses.cpp
InlineAsm.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
Instruction.cpp [IR] Check GEP source type when comparing instructions 2022-02-11 12:32:04 +01:00
Instructions.cpp [NFC] Method for evaluation of FCmpInst for constant operands 2021-12-25 17:37:38 +07:00
IntrinsicInst.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
LLVMContext.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
LLVMContextImpl.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
LLVMContextImpl.h Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
LLVMRemarkStreamer.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
LegacyPassManager.cpp [llvm] Use = default (NFC) 2022-02-06 22:18:35 -08:00
MDBuilder.cpp
Mangler.cpp [Mangler] Calculate the argument list byte count suffix correctly when returning large values 2021-09-29 11:42:28 -07:00
Metadata.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
MetadataImpl.h
Module.cpp [clang][macho] add clang frontend support for emitting macho files with two build version load commands 2022-02-02 08:30:39 -08:00
ModuleSummaryIndex.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
Operator.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
OptBisect.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
Pass.cpp [PM] Avoid duplicates in the Used/Preserved/Required sets 2021-01-20 13:55:18 +01:00
PassInstrumentation.cpp [NewPM] Handle passes with params in -print-before/-print-after 2021-07-09 09:27:37 +02:00
PassManager.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
PassRegistry.cpp
PassTimingInfo.cpp [LLVM][NFC]Inclusive language: remove occurances of sanity check/test from llvm 2021-11-24 17:29:55 -05:00
PrintPasses.cpp
ProfileSummary.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
PseudoProbe.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
ReplaceConstant.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
SSAContext.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
SafepointIRVerifier.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
Statepoint.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
StructuralHash.cpp
SymbolTableListTraitsImpl.h
Type.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
TypeFinder.cpp [IR] Support ifuncs in opaque pointer mode 2022-01-27 13:01:33 +01:00
Use.cpp Cleanup header dependencies in LLVMCore 2022-02-02 06:54:20 +01:00
User.cpp [CSSPGO] Unblock optimizations with pseudo probe instrumentation part 3. 2021-10-12 09:44:12 -07:00
Value.cpp [NFC][IR] Value: assert this->takeName(this) 2022-02-13 21:47:37 +03:00
ValueSymbolTable.cpp PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
Verifier.cpp [AMDGPU] Add a new intrinsic to control fp_trunc rounding mode 2022-02-11 12:08:23 -05:00