Home | History | Annotate | Download | only in HowToUseJIT

Lines Matching full:builder

73   // Create a basic block builder with default parameters.  The builder will
75 IRBuilder<> builder(BB);
78 Value *One = builder.getInt32(1);
86 Value *Add = builder.CreateAdd(One, ArgX);
89 builder.CreateRet(Add);
103 // Tell the basic block builder to attach itself to the new basic block
104 builder.SetInsertPoint(BB);
107 Value *Ten = builder.getInt32(10);
110 CallInst *Add1CallRes = builder.CreateCall(Add1F, Ten);
114 builder.CreateRet(Add1CallRes);