Searched refs:ThreadLong (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_thread.cpp44 uptr *ThreadLong = GetCurrentThreadLongPtr(); local
46 stack_allocations_ = new (ThreadLong)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp929 Value *ThreadLong = IRB.CreateLoad(IntptrTy, SlotPtr); local
930 // Extract the address field from ThreadLong. Unnecessary on AArch64 with TBI.
932 TargetTriple.isAArch64() ? ThreadLong : untagPointer(IRB, ThreadLong);
936 StackBaseTag = IRB.CreateAShr(ThreadLong, 3);
965 // Update the ring buffer. Top byte of ThreadLong defines the size of the
968 // buffer is simply Addr &= ~((ThreadLong >> 56) << 12).
973 IRB.CreateShl(IRB.CreateAShr(ThreadLong, 56), 12, "", true, true),
976 IRB.CreateAdd(ThreadLong, ConstantInt::get(IntptrTy, 8)), WrapMask);

Completed in 114 milliseconds