reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2996 IRB.SetCurrentDebugLocation(EntryDebugLocation); 3069 DoDynamicAlloca ? nullptr : createAllocaForLayout(IRB, L, false); 3078 IRB.CreateAlloca(IntptrTy, nullptr, "asan_local_stack_base"); 3084 kAsanOptionDetectUseAfterReturn, IRB.getInt32Ty()); 3085 Value *UseAfterReturnIsEnabled = IRB.CreateICmpNE( 3086 IRB.CreateLoad(IRB.getInt32Ty(), OptionDetectUseAfterReturn), 3086 IRB.CreateLoad(IRB.getInt32Ty(), OptionDetectUseAfterReturn), 3087 Constant::getNullValue(IRB.getInt32Ty())); 3097 IRB.SetInsertPoint(InsBefore); 3098 IRB.SetCurrentDebugLocation(EntryDebugLocation); 3099 FakeStack = createPHI(IRB, UseAfterReturnIsEnabled, FakeStackValue, Term, 3103 IRB.CreateICmpEQ(FakeStack, Constant::getNullValue(IntptrTy)); 3110 IRB.SetInsertPoint(InsBefore); 3111 IRB.SetCurrentDebugLocation(EntryDebugLocation); 3112 LocalStackBase = createPHI(IRB, NoFakeStack, AllocaValue, Term, FakeStack); 3113 IRB.SetCurrentDebugLocation(EntryDebugLocation); 3114 IRB.CreateStore(LocalStackBase, LocalStackBaseAlloca); 3121 DoDynamicAlloca ? createAllocaForLayout(IRB, L, true) : StaticAlloca; 3130 Value *NewAllocaPtr = IRB.CreateIntToPtr( 3131 IRB.CreateAdd(LocalStackBase, ConstantInt::get(IntptrTy, Desc.Offset)), 3138 Value *BasePlus0 = IRB.CreateIntToPtr(LocalStackBase, IntptrPtrTy); 3139 IRB.CreateStore(ConstantInt::get(IntptrTy, kCurrentStackFrameMagic), 3142 Value *BasePlus1 = IRB.CreateIntToPtr( 3143 IRB.CreateAdd(LocalStackBase, 3149 Value *Description = IRB.CreatePointerCast(StackDescriptionGlobal, IntptrTy); 3150 IRB.CreateStore(Description, BasePlus1); 3152 Value *BasePlus2 = IRB.CreateIntToPtr( 3153 IRB.CreateAdd(LocalStackBase, 3156 IRB.CreateStore(IRB.CreatePointerCast(&F, IntptrTy), BasePlus2); 3156 IRB.CreateStore(IRB.CreatePointerCast(&F, IntptrTy), BasePlus2); 3161 Value *ShadowBase = ASan.memToShadow(LocalStackBase, IRB); 3164 copyToShadow(ShadowAfterScope, ShadowAfterScope, IRB, ShadowBase);