Home
last modified time | relevance | path

Searched refs:Guard (Results 1 – 25 of 110) sorted by relevance

12345

/third_party/unity/extras/memory/src/
Dunity_memory.c53 } Guard; typedef
70 Guard* guard; in unity_malloc()
73 total_size = sizeof(Guard) + unity_size_round_up(size + sizeof(end)); in unity_malloc()
91 guard = (Guard*)(void*)(&unity_heap[heap_index]); in unity_malloc()
95 guard = (Guard*)UNITY_MALLOC(total_size); in unity_malloc()
109 Guard* guard = (Guard*)mem; in isOverrun()
118 Guard* guard = (Guard*)mem; in release_memory()
130 heap_index -= (sizeof(Guard) + block_size); in release_memory()
165 Guard* guard = (Guard*)oldMem; in unity_realloc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DGuardUtils.cpp31 CallInst *Guard, bool UseWC) { in makeGuardControlFlowExplicit() argument
32 OperandBundleDef DeoptOB(*Guard->getOperandBundle(LLVMContext::OB_deopt)); in makeGuardControlFlowExplicit()
33 SmallVector<Value *, 4> Args(std::next(Guard->arg_begin()), Guard->arg_end()); in makeGuardControlFlowExplicit()
35 auto *CheckBB = Guard->getParent(); in makeGuardControlFlowExplicit()
37 SplitBlockAndInsertIfThen(Guard->getArgOperand(0), Guard, true); in makeGuardControlFlowExplicit()
48 if (auto *MD = Guard->getMetadata(LLVMContext::MD_make_implicit)) in makeGuardControlFlowExplicit()
51 MDBuilder MDB(Guard->getContext()); in makeGuardControlFlowExplicit()
65 DeoptCall->setCallingConv(Guard->getCallingConv()); in makeGuardControlFlowExplicit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopPredication.cpp284 Value *expandCheck(SCEVExpander &Expander, Instruction *Guard,
289 Instruction *Guard);
293 Instruction *Guard);
297 Instruction *Guard);
299 SCEVExpander &Expander, Instruction *Guard);
301 bool widenWidenableBranchGuardConditions(BranchInst *Guard, SCEVExpander &Expander);
400 Instruction *Guard, in expandCheck() argument
407 IRBuilder<> Builder(Guard); in expandCheck()
415 Value *LHSV = Expander.expandCodeFor(LHS, Ty, findInsertPt(Guard, {LHS})); in expandCheck()
416 Value *RHSV = Expander.expandCodeFor(RHS, Ty, findInsertPt(Guard, {RHS})); in expandCheck()
[all …]
DMakeGuardsExplicit.cpp58 static void turnToExplicitForm(CallInst *Guard, Function *DeoptIntrinsic) { in turnToExplicitForm() argument
60 BasicBlock *OriginalBB = Guard->getParent(); in turnToExplicitForm()
62 makeGuardControlFlowExplicit(DeoptIntrinsic, Guard, true); in turnToExplicitForm()
65 Guard->eraseFromParent(); in turnToExplicitForm()
88 for (auto *Guard : GuardIntrinsics) in explicifyGuards() local
89 turnToExplicitForm(Guard, DeoptIntrinsic); in explicifyGuards()
/third_party/cJSON/tests/unity/extras/fixture/src/
Dunity_fixture.c176 } Guard; typedef
184 Guard* guard; in unity_malloc()
185 size_t total_size = size + sizeof(Guard) + sizeof(end); in unity_malloc()
202 guard = (Guard*)&unity_heap[heap_index]; in unity_malloc()
206 guard = (Guard*)UNITY_FIXTURE_MALLOC(total_size); in unity_malloc()
220 Guard* guard = (Guard*)mem; in isOverrun()
229 Guard* guard = (Guard*)mem; in release_memory()
236 heap_index -= (guard->size + sizeof(Guard) + sizeof(end)); in release_memory()
270 Guard* guard = (Guard*)oldMem; in unity_realloc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DPassRegistry.cpp42 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local
48 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo() local
58 sys::SmartScopedWriter<true> Guard(Lock); in registerPass() local
74 sys::SmartScopedReader<true> Guard(Lock); in enumerateWith() local
98 sys::SmartScopedWriter<true> Guard(Lock); in registerAnalysisGroup() local
119 sys::SmartScopedWriter<true> Guard(Lock); in addRegistrationListener() local
124 sys::SmartScopedWriter<true> Guard(Lock); in removeRegistrationListener() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DGsymCreator.cpp34 std::lock_guard<std::recursive_mutex> Guard(Mutex); in insertFile() local
54 std::lock_guard<std::recursive_mutex> Guard(Mutex); in encode() local
158 std::lock_guard<std::recursive_mutex> Guard(Mutex); in finalize() local
248 std::lock_guard<std::recursive_mutex> Guard(Mutex); in insertString() local
255 std::lock_guard<std::recursive_mutex> Guard(Mutex); in addFunctionInfo() local
261 std::lock_guard<std::recursive_mutex> Guard(Mutex); in forEachFunctionInfo() local
270 std::lock_guard<std::recursive_mutex> Guard(Mutex); in forEachFunctionInfo() local
/third_party/rust/crates/cxx/src/
Dunwind.rs21 let guard = Guard { label }; in prevent_unwind()
30 struct Guard { struct
34 impl Drop for Guard { implementation
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp42 std::lock_guard<sys::Mutex> Guard(Lock); in clearAnnotationCache() local
47 std::lock_guard<sys::Mutex> Guard(Lock); in cacheAnnotationFromMD() local
73 std::lock_guard<sys::Mutex> Guard(Lock); in cacheAnnotationFromMD() local
107 std::lock_guard<sys::Mutex> Guard(Lock); in findOneNVVMAnnotation() local
121 std::lock_guard<sys::Mutex> Guard(Lock); in findAllNVVMAnnotation() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DStackProtector.cpp357 if (Value *Guard = TLI->getIRStackGuard(B)) in getStackGuard() local
358 return B.CreateLoad(B.getInt8PtrTy(), Guard, true, "StackGuard"); in getStackGuard()
453 LoadInst *Guard = B.CreateLoad(B.getInt8PtrTy(), AI, true, "Guard"); in InsertStackProtectors() local
454 CallInst *Call = B.CreateCall(GuardCheck, {Guard}); in InsertStackProtectors()
507 Value *Guard = getStackGuard(TLI, M, B); in InsertStackProtectors() local
509 Value *Cmp = B.CreateICmpEQ(Guard, LI2); in InsertStackProtectors()
/third_party/rust/crates/once_cell/src/
Dimp_pl.rs122 struct Guard<'a> { struct
127 impl<'a> Drop for Guard<'a> { argument
145 let mut guard = Guard { state, new_state: INCOMPLETE }; in initialize_inner()
Dimp_std.rs155 struct Guard<'a> { struct
160 impl Drop for Guard<'_> { implementation
205 let mut guard = Guard { queue, new_queue: INCOMPLETE_PTR }; in initialize_or_wait()
/third_party/json/test/thirdparty/Fuzzer/
DFuzzerTracePC.cpp31 void TracePC::HandleTrace(uint32_t *Guard, uintptr_t PC) { in HandleTrace() argument
32 uint32_t Idx = *Guard; in HandleTrace()
263 void __sanitizer_cov_trace_pc_guard(uint32_t *Guard) { in __sanitizer_cov_trace_pc_guard() argument
265 fuzzer::TPC.HandleTrace(Guard, PC); in __sanitizer_cov_trace_pc_guard()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValueMap.h264 std::unique_lock<typename Config::mutex_type> Guard;
266 Guard = std::unique_lock<typename Config::mutex_type>(*M);
277 std::unique_lock<typename Config::mutex_type> Guard;
279 Guard = std::unique_lock<typename Config::mutex_type>(*M);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DSignals.inc226 unique_lock<SmartMutex<true>> Guard(*SignalsMutex);
233 Guard.unlock();
239 Guard.unlock();
259 sys::SmartScopedLock<true> Guard(*SignalsMutex);
265 sys::SmartScopedLock<true> Guard(*SignalsMutex);
275 sys::SmartScopedLock<true> Guard(*SignalsMutex);
285 sys::SmartScopedLock<true> Guard(*SignalsMutex);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DGuardUtils.h29 void makeGuardControlFlowExplicit(Function *DeoptIntrinsic, CallInst *Guard,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp261 std::unique_lock<sys::Mutex> Guard(*FunctionsLock); in callExternalFunction() local
268 Guard.unlock(); in callExternalFunction()
286 Guard.unlock(); in callExternalFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/PerfJITEvents/
DPerfJITEventListener.cpp424 std::lock_guard<sys::Mutex> Guard(Mutex); in NotifyCode() local
466 std::lock_guard<sys::Mutex> Guard(Mutex); in NotifyDebug() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileWrapper.cpp57 std::lock_guard<sys::Mutex> Guard(OProfileInitializationMutex); in initialize() local
/third_party/rust/crates/scopeguard/
DREADME.rst90 - Rename ``Guard`` → ``ScopeGuard``
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DJumpThreading.h159 bool ThreadGuard(BasicBlock *BB, IntrinsicInst *Guard, BranchInst *BI);
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/tesc/
Dwater_tess.tesc38 // Guard band for vertex displacement.
Dwater_tess.multi-patch.tesc38 // Guard band for vertex displacement.
/third_party/skia/third_party/externals/spirv-cross/shaders/tesc/
Dwater_tess.tesc38 // Guard band for vertex displacement.
/third_party/rust/crates/once_cell/tests/
Dit.rs452 let mut guard = Guard { child: std::process::Command::new(bin).spawn().unwrap() }; in reentrant_init()
457 struct Guard { in reentrant_init() struct
461 impl Drop for Guard { in reentrant_init() implementation

12345