search for: argbegin

Displaying 9 results from an estimated 9 matches for "argbegin".

Did you mean: arg_begin
2011 Feb 04
3
[LLVMdev] ConstantBuilder proposal
...tantArray::get(Ty, Vals, NumVals); } /// GetArray - return a constant array given an array type and an /// iterator pair template<typename RandomAccessIterator> static Constant *GetArray( const ArrayType *Ty, ///< The type of the array RandomAccessIterator ArgBegin, ///< Iterator for the first element RandomAccessIterator ArgEnd) { ///< The elements of the array return GetArray(Ty, &ArgBegin[0], ArgEnd - ArgBegin); } /// GetArrayOf - return a constant array given an element type and a vector /// of elements. static Constan...
2012 Aug 28
0
[LLVMdev] Please help to fix -Wdocumentation warninigs
...clang/lib/Parse/ParseTemplate.cpp:842:12: note: did you mean 'TemplateName'? /// \param TemplateNameKind the kind of template that \p Template ^~~~~~~~~~~~~~~~ TemplateName /home/grib/clang-scp/llvm/tools/clang/lib/CodeGen/CGClass.cpp:1099:12: warning: parameter 'argBegin,argEnd' not found in the function declaration [-Wdocumentation] /// \param argBegin,argEnd the arguments to evaluate and pass to the ^~~~~~~~~~~~~~~ /home/grib/clang-scp/llvm/tools/clang/lib/CodeGen/CGClass.cpp:1126:12: warning: parameter 'argBegin,argEnd' not found in...
2007 Jul 04
1
[LLVMdev] API design (and Boost and tr1)
...(e.g. a std::vector<>::iterator). Checks are made for /// random-accessness but not for contiguous storage as that would /// incur runtime overhead. /// @brief Construct a CallInst from a range of arguments template<typename InputIterator> CallInst(Value *Func, InputIterator ArgBegin, InputIterator ArgEnd, const std::string &Name = "", Instruction *InsertBefore = 0, // This extra default argument use SFINAE to prevent the // template from being considered for pointers to // Value-derived types. It removes an unwanted...
2007 Jul 04
0
[LLVMdev] API design (and Boost and tr1)
...simple as we'd thought. The problem is > the CallInst constructors that take two Value * arguments. They look > just like the teamplte versions that take iterators. Wow, this sounds very complex :) > template<typename InputIterator> > CallInst(Value *Func, InputIterator ArgBegin, InputIterator ArgEnd, > const std::string &Name = "", Instruction *InsertBefore = 0, Is it acceptable to just make the template argument be the container? That way you could pass: std::vector.. V; ... new CallInst(Callee, V, "foo"); etc. The disadvantage...
2009 Nov 18
2
[LLVMdev] Strange error using CallInst constructor
Hi, This is probably more of a standard C++ question instead of an actual LLVM question, but here it goes anyway. I'm trying to invoke the following constructor: CallInst::CallInst(Value *Func, InputIterator ArgBegin, InputIterator ArgEnd, const Twine &NameStr, BasicBlock *InsertAtEnd); My code is: using namespace llvm; void replaceByClone(Function *f, CallInst *I){ Function *clone = CloneFunction(f); BasicBlock::iterator ii(I); ReplaceInstWithInst(I->getParent()->getInstList(),ii,CallInst(clone,cl...
2007 Jul 03
4
[LLVMdev] API design
On Monday 02 July 2007 16:26, Chris Lattner wrote: > On Sun, 1 Jul 2007, Nick Lewycky wrote: > > I've been running LLVM with _GLIBCXX_DEBUG (extra checks) turned on to > > see what would happen, and it's been a complete disaster. Well, that's a bit harsh, isn't it? It's finding bugs, just like it's supposed to. :) I believe I've started to run into
2007 Jul 04
2
[LLVMdev] API design (and Boost and tr1)
On Wednesday 04 July 2007 14:57, Chris Lattner wrote: > > template<typename InputIterator> > > CallInst(Value *Func, InputIterator ArgBegin, InputIterator ArgEnd, > > const std::string &Name = "", Instruction *InsertBefore = 0, > > Is it acceptable to just make the template argument be the container? > That way you could pass: > > std::vector.. V; > ... > > new CallInst(Callee, V, &...
2009 Nov 19
0
[LLVMdev] Strange error using CallInst constructor
...;>> >>> Hi, >>> >>> This is probably more of a standard C++ question instead of an actual >>> LLVM question, but here it goes anyway. I'm trying to invoke the >>> following constructor: >>> CallInst::CallInst(Value *Func, InputIterator ArgBegin, InputIterator >>> ArgEnd, >>> const Twine &NameStr, BasicBlock *InsertAtEnd); >>> >>> My code is: >>> >>> using namespace llvm; >>> void replaceByClone(Function *f, CallInst *I){ >>> Function *clone = CloneFunction(f); &gt...
2012 Feb 10
1
[LLVMdev] Question about /llvm/trunk/lib/CodeGen/MachineScheduler.cpp
...ion >>>> (Clang=0x3ced2d0) >>>>> at >>>>> /local/mnt/workspace/slarin/tools/llvm-mainline- >>>> merged/tools/clang/lib/Front >>>>> endTool/ExecuteCompilerInvocation.cpp:175 >>>>> #19 0x0000000000a99618 in cc1_main (ArgBegin=0x7fffffffaf10, >>>>> ArgEnd=0x7fffffffb108, Argv0=0x3cebaf8 >>>>> "/prj/qct/sunray-austin/scratch/slarin/qdsp6_hex/bin/qc/bin/clang", >>>>> MainAddr=0xaa4654) >>>>> at >>>>> /local/mnt/workspace/slarin/tools/llvm...