MCPcopy Create free account
hub / github.com/apache/impala / GetPtrTo

Method GetPtrTo

be/src/codegen/llvm-codegen.cc:1994–1999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1992}
1993
1994llvm::Value* LlvmCodeGen::GetPtrTo(
1995 LlvmBuilder* builder, llvm::Value* v, const char* name) {
1996 llvm::Value* ptr = CreateEntryBlockAlloca(*builder, v->getType(), name);
1997 builder->CreateStore(v, ptr);
1998 return ptr;
1999}
2000
2001llvm::Constant* LlvmCodeGen::ConstantToGVPtr(
2002 llvm::Type* type, llvm::Constant* ir_constant, const string& name) {

Callers 2

Calls 1

getTypeMethod · 0.65

Tested by

no test coverage detected