Home
last modified time | relevance | path

Searched refs:StaticOffset (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
DSafeStack.cpp520 int64_t StaticOffset = 0; // Current stack top. in moveStaticAllocasToUnsafeStack() local
536 StaticOffset += Size; in moveStaticAllocasToUnsafeStack()
537 StaticOffset = RoundUpToAlignment(StaticOffset, Align); in moveStaticAllocasToUnsafeStack()
540 ConstantInt::get(Int32Ty, -StaticOffset)); in moveStaticAllocasToUnsafeStack()
546 /*Deref=*/true, -StaticOffset); in moveStaticAllocasToUnsafeStack()
567 StaticOffset += Size; in moveStaticAllocasToUnsafeStack()
568 StaticOffset = RoundUpToAlignment(StaticOffset, Align); in moveStaticAllocasToUnsafeStack()
571 ConstantInt::get(Int32Ty, -StaticOffset)); in moveStaticAllocasToUnsafeStack()
577 replaceDbgDeclareForAlloca(AI, BasePointer, DIB, /*Deref=*/true, -StaticOffset); in moveStaticAllocasToUnsafeStack()
585 StaticOffset = RoundUpToAlignment(StaticOffset, StackAlignment); in moveStaticAllocasToUnsafeStack()
[all …]
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp1331 CharUnits StaticOffset = ML.VFPtrOffset; in adjustThisArgumentForVirtualFunctionCall() local
1337 StaticOffset = CharUnits::Zero(); in adjustThisArgumentForVirtualFunctionCall()
1353 if (!StaticOffset.isZero()) { in adjustThisArgumentForVirtualFunctionCall()
1354 assert(StaticOffset.isPositive()); in adjustThisArgumentForVirtualFunctionCall()
1361 Result = CGF.Builder.CreateConstByteGEP(Result, StaticOffset); in adjustThisArgumentForVirtualFunctionCall()
1363 Result = CGF.Builder.CreateConstInBoundsByteGEP(Result, StaticOffset); in adjustThisArgumentForVirtualFunctionCall()