| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/ |
| H A D | unix.Malloc.rst | 1 .. title:: clang-tidy - clang-analyzer-unix.Malloc 5 clang-analyzer-unix.Malloc 8 The clang-analyzer-unix.Malloc check is an alias, please see
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/benchmarks/ |
| H A D | malloc_benchmark.cpp | 37 void *Ptr = Allocator->allocate(NBytes, scudo::Chunk::Origin::Malloc); in BM_malloc_free() 42 Allocator->deallocate(Ptr, scudo::Chunk::Origin::Malloc); in BM_malloc_free() 80 Ptr = Allocator->allocate(1 << SizeLog2, scudo::Chunk::Origin::Malloc); in BM_malloc_free_loop() 88 Allocator->deallocate(Ptr, scudo::Chunk::Origin::Malloc); in BM_malloc_free_loop()
|
| /llvm-project-15.0.7/mlir/include/mlir/Conversion/LLVMCommon/ |
| H A D | LoweringOptions.h | 39 Malloc, enumerator 49 AllocLowering allocLowering = AllocLowering::Malloc;
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | wrappers_c.inc | 32 Product, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT, true)); 36 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc); 76 size, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT)); 142 size, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT)); 144 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc); 228 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, alignment));
|
| H A D | chunk.h | 56 Malloc = 0, enumerator
|
| H A D | combined.h | 557 Origin != Chunk::Origin::Malloc) 589 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment); 617 if (UNLIKELY(OldHeader.OriginOrWasZeroed != Chunk::Origin::Malloc)) 620 Chunk::Origin::Malloc); 666 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | DeadStoreElimination.cpp | 1741 if (!Malloc) in tryFoldIntoCalloc() 1743 auto *InnerCallee = Malloc->getCalledFunction(); in tryFoldIntoCalloc() 1754 auto *MallocBB = Malloc->getParent(), in tryFoldIntoCalloc() 1770 if (Malloc->getOperand(0) != MemSet->getLength()) in tryFoldIntoCalloc() 1772 if (!shouldCreateCalloc(Malloc, MemSet) || in tryFoldIntoCalloc() 1773 !DT.dominates(Malloc, MemSet) || in tryFoldIntoCalloc() 1776 IRBuilder<> IRB(Malloc); in tryFoldIntoCalloc() 1780 Malloc->getArgOperand(0), IRB, TLI); in tryFoldIntoCalloc() 1791 Updater.removeMemoryAccess(Malloc); in tryFoldIntoCalloc() 1792 Malloc->replaceAllUsesWith(Calloc); in tryFoldIntoCalloc() [all …]
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | ManagedMemoryRewrite.cpp | 361 Function *Malloc = M.getFunction("malloc"); in runOnModule() local 363 if (Malloc) { in runOnModule() 368 replaceAllUsesAndConstantUses(Malloc, PollyMallocManaged, Builder); in runOnModule() 369 Malloc->eraseFromParent(); in runOnModule()
|
| /llvm-project-15.0.7/clang/test/Analysis/diagnostics/Inputs/expected-sarif/ |
| H A D | sarif-multi-diagnostic-test.c.sarif | 365 "ruleId": "unix.Malloc", 471 "id": "unix.Malloc", 472 "name": "unix.Malloc"
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | exceptions.mm | 1 …xceptions -fobjc-exceptions -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspecti…
|
| H A D | dispatch-once.m | 4 // RUN: -analyzer-checker=unix.Malloc \ 10 // RUN: -analyzer-checker=unix.Malloc \
|
| H A D | malloc.m | 1 // RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.Malloc -verify -Wno-objc-root-class -fblocks…
|
| H A D | MismatchedDeallocator-checker-test.mm | 132 // Check for intersection with unix.Malloc bounded with 174 // malloc()/free() are subjects of unix.Malloc and unix.MallocWithAnnotations
|
| H A D | objc-boxing.m | 1 // RUN: %clang_analyze_cc1 -Wno-objc-literal-conversion -analyzer-checker=core,unix.Malloc,osx.coco…
|
| /llvm-project-15.0.7/lldb/source/Expression/ |
| H A D | LLVMUserExpression.cpp | 316 m_materialized_address = m_execution_unit_sp->Malloc( in PrepareToExecuteJITExpression() 340 m_stack_frame_bottom = m_execution_unit_sp->Malloc( in PrepareToExecuteJITExpression()
|
| H A D | IRInterpreter.cpp | 314 lldb::addr_t data_address = Malloc(value->getType()); in MakeArgument() 369 lldb::addr_t Malloc(size_t size, uint8_t byte_alignment) { in Malloc() function in InterpreterStackFrame 382 lldb::addr_t Malloc(llvm::Type *type) { in Malloc() function in InterpreterStackFrame 385 return Malloc(m_target_data.getTypeAllocSize(type), in Malloc() 421 lldb::addr_t data_address = Malloc(value->getType()); in ResolveValue() 830 lldb::addr_t R = frame.Malloc(T); in Interpret() 839 lldb::addr_t P = frame.Malloc(Tptr); in Interpret()
|
| H A D | Materializer.cpp | 79 lldb::addr_t mem = map.Malloc( in MakeAllocation() 558 m_temporary_allocation = map.Malloc( in Materialize() 956 m_temporary_allocation = map.Malloc( in Materialize()
|
| H A D | IRExecutionUnit.cpp | 60 Malloc(size, 8, lldb::ePermissionsWritable | lldb::ePermissionsReadable, in WriteNow() 1070 Malloc(record.m_size, record.m_alignment, record.m_permissions, in CommitOneAllocation()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 68 Malloc, enumerator 81 case MallocFamily::Malloc: in mangledNameForMallocFamily() 143 …ibFunc_memalign, {AlignedAllocLike, 2, 1, -1, 0, MallocFamily::Malloc}}, 146 …ibFunc_strdup, {StrDupLike, 1, -1, -1, -1, MallocFamily::Malloc}}, 147 …ibFunc_dunder_strdup, {StrDupLike, 1, -1, -1, -1, MallocFamily::Malloc}}, 148 …ibFunc_strndup, {StrDupLike, 2, 1, -1, -1, MallocFamily::Malloc}}, 149 …ibFunc_dunder_strndup, {StrDupLike, 2, 1, -1, -1, MallocFamily::Malloc}},
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | chunk_test.cpp | 44 OldHeader.OriginOrWasZeroed = scudo::Chunk::Origin::Malloc; in TEST()
|
| H A D | wrappers_c_test.cpp | 45 TEST(ScudoWrappersCDeathTest, Malloc) { in TEST() argument
|
| /llvm-project-15.0.7/lldb/include/lldb/Expression/ |
| H A D | IRMemoryMap.h | 53 lldb::addr_t Malloc(size_t size, uint8_t alignment, uint32_t permissions,
|
| /llvm-project-15.0.7/compiler-rt/lib/hwasan/ |
| H A D | hwasan_flags.inc | 63 // Malloc / free bisection. Only tag malloc and free calls when a hash of
|
| /llvm-project-15.0.7/clang/test/Analysis/Inputs/expected-plists/ |
| H A D | malloc-plist.c.plist | 214 <key>check_name</key><string>unix.Malloc</string> 391 <key>check_name</key><string>unix.Malloc</string> 722 <key>check_name</key><string>unix.Malloc</string> 1170 <key>check_name</key><string>unix.Malloc</string> 1736 <key>check_name</key><string>unix.Malloc</string> 2315 <key>check_name</key><string>unix.Malloc</string> 2635 <key>check_name</key><string>unix.Malloc</string> 2996 <key>check_name</key><string>unix.Malloc</string> 3140 <key>check_name</key><string>unix.Malloc</string> 3330 <key>check_name</key><string>unix.Malloc</string> [all …]
|
| /llvm-project-15.0.7/llvm/docs/HistoricalNotes/ |
| H A D | 2003-06-25-Reoptimizer1.txt | 107 away that a single pc-relative branch would not work.) Malloc() or
|