Lines Matching refs:InsertBefore

682   void instrumentAddress(Instruction *OrigIns, Instruction *InsertBefore,
686 Instruction *InsertBefore, Value *Addr,
690 Instruction *InsertBefore, Value *Addr,
696 Instruction *generateCrashCode(Instruction *InsertBefore, Value *Addr,
1386 Instruction *InsertBefore, Value *Addr, in doInstrumentAddress() argument
1396 return Pass->instrumentAddress(I, InsertBefore, Addr, TypeSize, IsWrite, in doInstrumentAddress()
1398 Pass->instrumentUnusualSizeOrAlignment(I, InsertBefore, Addr, TypeSize, in doInstrumentAddress()
1415 Instruction *InsertBefore = I; in instrumentMaskedLoadOrStore() local
1429 InsertBefore = ThenTerm; in instrumentMaskedLoadOrStore()
1432 IRBuilder<> IRB(InsertBefore); in instrumentMaskedLoadOrStore()
1435 doInstrumentAddress(Pass, I, InsertBefore, InstrumentedAddress, Alignment, in instrumentMaskedLoadOrStore()
1496 Instruction *AddressSanitizer::generateCrashCode(Instruction *InsertBefore, in generateCrashCode() argument
1501 IRBuilder<> IRB(InsertBefore); in generateCrashCode()
1543 Instruction *OrigIns, Instruction *InsertBefore, Value *Addr, in instrumentAMDGPUAddress() argument
1551 return InsertBefore; in instrumentAMDGPUAddress()
1553 IRBuilder<> IRB(InsertBefore); in instrumentAMDGPUAddress()
1560 SplitBlockAndInsertIfThen(Cmp, InsertBefore, false); in instrumentAMDGPUAddress()
1561 InsertBefore = cast<Instruction>(AddrSpaceZeroLanding); in instrumentAMDGPUAddress()
1562 return InsertBefore; in instrumentAMDGPUAddress()
1566 Instruction *InsertBefore, Value *Addr, in instrumentAddress() argument
1571 InsertBefore = instrumentAMDGPUAddress(OrigIns, InsertBefore, Addr, in instrumentAddress()
1573 if (!InsertBefore) in instrumentAddress()
1577 IRBuilder<> IRB(InsertBefore); in instrumentAddress()
1618 Cmp, InsertBefore, false, MDBuilder(*C).createBranchWeights(1, 100000)); in instrumentAddress()
1633 CrashTerm = SplitBlockAndInsertIfThen(Cmp, InsertBefore, !Recover); in instrumentAddress()
1646 Instruction *I, Instruction *InsertBefore, Value *Addr, uint32_t TypeSize, in instrumentUnusualSizeOrAlignment() argument
1648 IRBuilder<> IRB(InsertBefore); in instrumentUnusualSizeOrAlignment()
1662 instrumentAddress(I, InsertBefore, Addr, 8, IsWrite, Size, false, Exp); in instrumentUnusualSizeOrAlignment()
1663 instrumentAddress(I, InsertBefore, LastByte, 8, IsWrite, Size, false, Exp); in instrumentUnusualSizeOrAlignment()