search for: constantbuild

Displaying 2 results from an estimated 2 matches for "constantbuild".

Did you mean: constantbuilder
2011 Feb 04
0
[LLVMdev] ConstantBuilder proposal
...  static Constant *GetStruct( >     LLVMContext &Context, >     const std::vector<Constant*> &V, >     bool Packed = false) { >     return ConstantStruct::get(Context, V, Packed); >   } can remove it from their parameter list. It's probably pretty unlikely a given ConstantBuilder instance would be used with multiple LLVMContexts. Making this a class you need an instance of would likely also allow typing to be reduced a bit because said instance can be given a shorter name than 'ConstantBuilder'. For example: 'cb.GetStruct(...)' instead of 'ConstantBui...
2011 Feb 04
3
[LLVMdev] ConstantBuilder proposal
Here's a sketch of what I am proposing for ConstantBuilder. I'd like feedback on naming conventions, doc comments, etc. //===-- llvm/Support/ConstantBuilder.h - Builder for Constants --*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. Se...