Lines Matching refs:InsertBefore
696 void instrumentAddress(Instruction *OrigIns, Instruction *InsertBefore,
701 Instruction *InsertBefore, Value *Addr,
707 Instruction *InsertBefore, Value *Addr,
720 Instruction *generateCrashCode(Instruction *InsertBefore, Value *Addr,
1512 Instruction *InsertBefore, Value *Addr, in doInstrumentAddress() argument
1529 return Pass->instrumentAddress(I, InsertBefore, Addr, Alignment, in doInstrumentAddress()
1534 Pass->instrumentUnusualSizeOrAlignment(I, InsertBefore, Addr, TypeStoreSize, in doInstrumentAddress()
1659 Instruction *AddressSanitizer::generateCrashCode(Instruction *InsertBefore, in generateCrashCode() argument
1664 InstrumentationIRBuilder IRB(InsertBefore); in generateCrashCode()
1706 Instruction *OrigIns, Instruction *InsertBefore, Value *Addr, in instrumentAMDGPUAddress() argument
1714 return InsertBefore; in instrumentAMDGPUAddress()
1716 IRBuilder<> IRB(InsertBefore); in instrumentAMDGPUAddress()
1722 SplitBlockAndInsertIfThen(Cmp, InsertBefore, false); in instrumentAMDGPUAddress()
1723 InsertBefore = cast<Instruction>(AddrSpaceZeroLanding); in instrumentAMDGPUAddress()
1724 return InsertBefore; in instrumentAMDGPUAddress()
1752 Instruction *InsertBefore, Value *Addr, in instrumentAddress() argument
1758 InsertBefore = instrumentAMDGPUAddress(OrigIns, InsertBefore, Addr, in instrumentAddress()
1760 if (!InsertBefore) in instrumentAddress()
1764 InstrumentationIRBuilder IRB(InsertBefore); in instrumentAddress()
1814 Cmp, InsertBefore, false, MDBuilder(*C).createBranchWeights(1, 100000)); in instrumentAddress()
1829 CrashTerm = SplitBlockAndInsertIfThen(Cmp, InsertBefore, !Recover); in instrumentAddress()
1843 Instruction *I, Instruction *InsertBefore, Value *Addr, TypeSize TypeStoreSize, in instrumentUnusualSizeOrAlignment() argument
1845 InstrumentationIRBuilder IRB(InsertBefore); in instrumentUnusualSizeOrAlignment()
1862 instrumentAddress(I, InsertBefore, Addr, {}, 8, IsWrite, Size, false, Exp); in instrumentUnusualSizeOrAlignment()
1863 instrumentAddress(I, InsertBefore, LastByte, {}, 8, IsWrite, Size, false, in instrumentUnusualSizeOrAlignment()