Home | History | Annotate | Download | only in Instrumentation

Lines Matching refs:Builder

58     BuilderTy *Builder;
80 IRBuilder<>::InsertPointGuard Guard(*Builder);
82 Builder->SetInsertPoint(TrapBB);
85 CallInst *TrapCall = Builder->CreateCall(F, {});
89 Builder->CreateUnreachable();
109 BasicBlock::iterator Inst = Builder->GetInsertPoint();
153 Value *ObjSize = Builder->CreateSub(Size, Offset);
154 Value *Cmp2 = Builder->CreateICmpULT(Size, Offset);
155 Value *Cmp3 = Builder->CreateICmpULT(ObjSize, NeededSizeVal);
156 Value *Or = Builder->CreateOr(Cmp2, Cmp3);
158 Value *Cmp1 = Builder->CreateICmpSLT(Offset, ConstantInt::get(IntTy, 0));
159 Or = Builder->CreateOr(Cmp1, Or);
172 Builder = &TheBuilder;
191 Builder->SetInsertPoint(Inst);