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

Method GetBoolConstant

be/src/codegen/llvm-codegen.h:585–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583 llvm::PointerType* ptr_ptr_type() { return GetPtrType(ptr_type_); }
584
585 llvm::Constant* GetBoolConstant(bool val) { return val ? true_value_ : false_value_; }
586 llvm::Constant* GetI8Constant(uint64_t val) {
587 return llvm::ConstantInt::get(context(), llvm::APInt(8, val));
588 }

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected