Home | History | Annotate | Download | only in Instrumentation

Lines Matching full:builder

59     BuilderTy *Builder;
83 BasicBlock::iterator PrevInsertPoint = Builder->GetInsertPoint();
85 Builder->SetInsertPoint(TrapBB);
88 CallInst *TrapCall = Builder->CreateCall(F);
92 Builder->CreateUnreachable();
94 Builder->SetInsertPoint(PrevInsertPoint);
113 Instruction *Inst = Builder->GetInsertPoint();
156 Value *ObjSize = Builder->CreateSub(Size, Offset);
157 Value *Cmp2 = Builder->CreateICmpULT(Size, Offset);
158 Value *Cmp3 = Builder->CreateICmpULT(ObjSize, NeededSizeVal);
159 Value *Or = Builder->CreateOr(Cmp2, Cmp3);
161 Value *Cmp1 = Builder->CreateICmpSLT(Offset, ConstantInt::get(IntTy, 0));
162 Or = Builder->CreateOr(Cmp1, Or);
175 Builder = &TheBuilder;
194 Builder->SetInsertPoint(Inst);