Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/examples/BrainF/
DBrainF.cpp99 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem, in header()
101 BB->getInstList().push_back(cast<Instruction>(ptr_arr)); in header()
106 ptr_arr, in header()
121 CreateGEP(ptr_arr, ConstantInt::get(C, APInt(32, memtotal)), "arrmax"); in header()
125 curhead = builder->CreateGEP(ptr_arr, in header()
135 endbb->getInstList().push_back(CallInst::CreateFree(ptr_arr, endbb)); in header()
262 CreateICmpULT(curhead, ptr_arr, testreg); in readloop()
DBrainF.h85 Value *ptr_arr; variable
/external/swiftshader/third_party/LLVM/examples/BrainF/
DBrainF.cpp87 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem, in header()
89 BB->getInstList().push_back(cast<Instruction>(ptr_arr)); in header()
94 ptr_arr, in header()
109 CreateGEP(ptr_arr, ConstantInt::get(C, APInt(32, memtotal)), "arrmax"); in header()
113 curhead = builder->CreateGEP(ptr_arr, in header()
125 endbb->getInstList().push_back(CallInst::CreateFree(ptr_arr, endbb)); in header()
252 CreateICmpULT(curhead, ptr_arr, testreg); in readloop()
DBrainF.h84 Value *ptr_arr; variable
/external/llvm/examples/BrainF/
DBrainF.cpp99 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem, in header()
101 BB->getInstList().push_back(cast<Instruction>(ptr_arr)); in header()
106 ptr_arr, in header()
121 CreateGEP(ptr_arr, ConstantInt::get(C, APInt(32, memtotal)), "arrmax"); in header()
125 curhead = builder->CreateGEP(ptr_arr, in header()
135 endbb->getInstList().push_back(CallInst::CreateFree(ptr_arr, endbb)); in header()
262 CreateICmpULT(curhead, ptr_arr, testreg); in readloop()
DBrainF.h85 Value *ptr_arr; variable