Home | History | Annotate | Download | only in Utils

Lines Matching refs:Builder

26   IRBuilder<> Builder(C);
28 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty());
29 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(),
35 Builder.SetInsertPoint(BB);
41 Value *Div = Builder.CreateSDiv(A, B);
44 Value *Ret = Builder.CreateRet(Div);
56 IRBuilder<> Builder(C);
58 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty());
59 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(),
65 Builder.SetInsertPoint(BB);
71 Value *Div = Builder.CreateUDiv(A, B);
74 Value *Ret = Builder.CreateRet(Div);
86 IRBuilder<> Builder(C);
88 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty());
89 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(),
95 Builder.SetInsertPoint(BB);
101 Value *Rem = Builder.CreateSRem(A, B);
104 Value *Ret = Builder.CreateRet(Rem);
116 IRBuilder<> Builder(C);
118 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty());
119 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(),
125 Builder.SetInsertPoint(BB);
131 Value *Rem = Builder.CreateURem(A, B);
134 Value *Ret = Builder.CreateRet(Rem);
147 IRBuilder<> Builder(C);
149 SmallVector<Type*, 2> ArgTys(2, Builder.getInt64Ty());
150 Function *F = Function::Create(FunctionType::get(Builder.getInt64Ty(),
156 Builder.SetInsertPoint(BB);
162 Value *Div = Builder.CreateSDiv(A, B);
165 Value *Ret = Builder.CreateRet(Div);
177 IRBuilder<> Builder(C);
179 SmallVector<Type*, 2> ArgTys(2, Builder.getInt64Ty());
180 Function *F = Function::Create(FunctionType::get(Builder.getInt64Ty(),
186 Builder.SetInsertPoint(BB);
192 Value *Div = Builder.CreateUDiv(A, B);
195 Value *Ret = Builder.CreateRet(Div);
207 IRBuilder<> Builder(C);
209 SmallVector<Type*, 2> ArgTys(2, Builder.getInt64Ty());
210 Function *F = Function::Create(FunctionType::get(Builder.getInt64Ty(),
216 Builder.SetInsertPoint(BB);
222 Value *Rem = Builder.CreateSRem(A, B);
225 Value *Ret = Builder.CreateRet(Rem);
237 IRBuilder<> Builder(C);
239 SmallVector<Type*, 2> ArgTys(2, Builder.getInt64Ty());
240 Function *F = Function::Create(FunctionType::get(Builder.getInt64Ty(),
246 Builder.SetInsertPoint(BB);
252 Value *Rem = Builder.CreateURem(A, B);
255 Value *Ret = Builder.CreateRet(Rem);