Home
last modified time | relevance | path

Searched refs:IBuilder (Results 1 – 1 of 1) sorted by relevance

/external/llvm/unittests/Transforms/Utils/
DCloning.cpp228 IRBuilder<> IBuilder(C); in CreateOldFunctionBodyAndDI() local
243 IBuilder.SetInsertPoint(Entry); in CreateOldFunctionBodyAndDI()
245 IBuilder.SetCurrentDebugLocation(Loc); in CreateOldFunctionBodyAndDI()
246 AllocaInst* Alloca = IBuilder.CreateAlloca(IntegerType::getInt32Ty(C)); in CreateOldFunctionBodyAndDI()
247 IBuilder.SetCurrentDebugLocation(DebugLoc::get(4, 2, Subprogram)); in CreateOldFunctionBodyAndDI()
248 Value* AllocaContent = IBuilder.getInt32(1); in CreateOldFunctionBodyAndDI()
249 Instruction* Store = IBuilder.CreateStore(AllocaContent, Alloca); in CreateOldFunctionBodyAndDI()
250 IBuilder.SetCurrentDebugLocation(DebugLoc::get(5, 2, Subprogram)); in CreateOldFunctionBodyAndDI()
251 Instruction* Terminator = IBuilder.CreateRetVoid(); in CreateOldFunctionBodyAndDI()