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
245 IBuilder.SetInsertPoint(Entry); in CreateOldFunctionBodyAndDI()
247 IBuilder.SetCurrentDebugLocation(Loc); in CreateOldFunctionBodyAndDI()
248 AllocaInst* Alloca = IBuilder.CreateAlloca(IntegerType::getInt32Ty(C)); in CreateOldFunctionBodyAndDI()
249 IBuilder.SetCurrentDebugLocation(DebugLoc::get(4, 2, Subprogram)); in CreateOldFunctionBodyAndDI()
250 Value* AllocaContent = IBuilder.getInt32(1); in CreateOldFunctionBodyAndDI()
251 Instruction* Store = IBuilder.CreateStore(AllocaContent, Alloca); in CreateOldFunctionBodyAndDI()
252 IBuilder.SetCurrentDebugLocation(DebugLoc::get(5, 2, Subprogram)); in CreateOldFunctionBodyAndDI()
253 Instruction* Terminator = IBuilder.CreateRetVoid(); in CreateOldFunctionBodyAndDI()
426 IRBuilder<> IBuilder(C); in CreateOldModule() local
[all …]