search for: createfunct

Displaying 20 results from an estimated 21 matches for "createfunct".

Did you mean: createfunc
2013 Apr 09
3
[LLVMdev] Passing DW_TAG_typedef as the type to DIBuilder's createFunction
...when passing this node !{i32 786454, metadata <badref>, metadata <badref>, metadata !"fn_t", i32 5, i64 0, i64 0, i64 0, i32 0, metadata <badref>} ; [ DW_TAG_typedef ] [fn_t] [line 5, size 0, align 0, offset 0] [from ] as the function type parameter to DIBuilder::createFunction, due to this check in DebugInfo.cpp: 486 DICompositeType Ty = getType(); 487 if (!Ty.Verify()) 488 return false; Is it in fact wrong to pass a typedef here? Thanks, Duncan.
2013 Apr 09
0
[LLVMdev] Passing DW_TAG_typedef as the type to DIBuilder's createFunction
...gt; > !{i32 786454, metadata <badref>, metadata <badref>, metadata !"fn_t", i32 > 5, i64 0, i64 0, i64 0, i32 0, metadata <badref>} ; [ DW_TAG_typedef ] > [fn_t] [line 5, size 0, align 0, offset 0] [from ] > > as the function type parameter to DIBuilder::createFunction, due to this > check > in DebugInfo.cpp: > > 486 DICompositeType Ty = getType(); > 487 if (!Ty.Verify()) > 488 return false; > > Is it in fact wrong to pass a typedef here? > I can't come up with a way that'd be correct, no. You should be u...
2013 Apr 10
2
[LLVMdev] Passing DW_TAG_typedef as the type to DIBuilder's createFunction
...786454, metadata <badref>, metadata <badref>, metadata !"fn_t", i32 >> 5, i64 0, i64 0, i64 0, i32 0, metadata <badref>} ; [ DW_TAG_typedef ] >> [fn_t] [line 5, size 0, align 0, offset 0] [from ] >> >> as the function type parameter to DIBuilder::createFunction, due to this >> check >> in DebugInfo.cpp: >> >> 486 DICompositeType Ty = getType(); >> 487 if (!Ty.Verify()) >> 488 return false; >> >> Is it in fact wrong to pass a typedef here? >> > > I can't come up with a w...
2013 Apr 16
0
[LLVMdev] Passing DW_TAG_typedef as the type to DIBuilder's createFunction
...gt;, metadata <badref>, metadata !"fn_t", >>> i32 >>> 5, i64 0, i64 0, i64 0, i32 0, metadata <badref>} ; [ DW_TAG_typedef ] >>> [fn_t] [line 5, size 0, align 0, offset 0] [from ] >>> >>> as the function type parameter to DIBuilder::createFunction, due to this >>> check >>> in DebugInfo.cpp: >>> >>> 486 DICompositeType Ty = getType(); >>> 487 if (!Ty.Verify()) >>> 488 return false; >>> >>> Is it in fact wrong to pass a typedef here? >>> &g...
2013 Apr 17
0
[LLVMdev] Passing DW_TAG_typedef as the type to DIBuilder's createFunction
Hi Eric, >> But then we still don't emit anything about the function (& neither does GCC). >> So make it a member function (so we are forced to emit the declaration >> even without complicating the example by having to add a definition >> (which by necessity cannot use the typedef))... and then we see that >> the subprogram description doesn't refer to a
2013 Apr 16
0
[LLVMdev] Passing DW_TAG_typedef as the type to DIBuilder's createFunction
..."fn_t", >>>>> i32 >>>>> 5, i64 0, i64 0, i64 0, i32 0, metadata <badref>} ; [ DW_TAG_typedef ] >>>>> [fn_t] [line 5, size 0, align 0, offset 0] [from ] >>>>> >>>>> as the function type parameter to DIBuilder::createFunction, due to this >>>>> check >>>>> in DebugInfo.cpp: >>>>> >>>>> 486 DICompositeType Ty = getType(); >>>>> 487 if (!Ty.Verify()) >>>>> 488 return false; >>>>> >>>>...
2013 Apr 16
2
[LLVMdev] Passing DW_TAG_typedef as the type to DIBuilder's createFunction
...dref>, metadata !"fn_t", >>>> i32 >>>> 5, i64 0, i64 0, i64 0, i32 0, metadata <badref>} ; [ DW_TAG_typedef ] >>>> [fn_t] [line 5, size 0, align 0, offset 0] [from ] >>>> >>>> as the function type parameter to DIBuilder::createFunction, due to this >>>> check >>>> in DebugInfo.cpp: >>>> >>>> 486 DICompositeType Ty = getType(); >>>> 487 if (!Ty.Verify()) >>>> 488 return false; >>>> >>>> Is it in fact wrong to pass...
2013 Apr 17
2
[LLVMdev] Passing DW_TAG_typedef as the type to DIBuilder's createFunction
...t;>>>>> i32 >>>>>> 5, i64 0, i64 0, i64 0, i32 0, metadata <badref>} ; [ DW_TAG_typedef ] >>>>>> [fn_t] [line 5, size 0, align 0, offset 0] [from ] >>>>>> >>>>>> as the function type parameter to DIBuilder::createFunction, due to this >>>>>> check >>>>>> in DebugInfo.cpp: >>>>>> >>>>>> 486 DICompositeType Ty = getType(); >>>>>> 487 if (!Ty.Verify()) >>>>>> 488 return false; >>>&...
2012 Dec 28
2
[LLVMdev] Newbie question(?): How to correctly create debug info, when generating IR
...false /*isOptimized*/, StringRef("") /*Flags*/, 0 /*RV: Runtime Version?*/); DIFile file = dibuilder->createFile(StringRef("foo.x"), StringRef(".")); DICompileUnit compile_unit = DICompileUnit(file); dibuilder->createFunction(compile_unit /*Scope*/, StringRef(function_name), StringRef(function_name), file, 42 /* line number*/, di_func_type, false /*isLocalToUnit*/, true /*isDefinition*/, 42 /*ScopeLine*/...
2016 Nov 18
2
DWARF gotchas moving from 3.7.1 to 3.9.0
...into verifier). I can run llc manually on my IR without complaint. However, I am not able to ascertain whether llc runs the debug info verifier by default. One of the changes I had to make to get my code to compile was to remove the function argument (of Function* type) from the call to DIBuilder::createFunction(). This appears to be my problem, as my functions do not appear to have debug info: >From my 3.7.1 code: define void @func(%artype*) #4 !dbg !5 { !5 = distinct !DISubprogram(n...) >From 3.9.0: define void @func(%artype*) #4 { What must I do to attach the DISubprogram metadata node to...
2012 Oct 17
0
postForm() in RCurl and library RHTMLForms
...seindia.com/, http://marathi.bseindia.com/, http://gujarati.bseindia.com/, Select Language, Hindi, Marathi, Gujarati txtscrip: [ Scrip Name / Code ] ................................................................................................................................................. g = createFunction(ff[[1]]) here after how to call the function like this and getting the table out of it. xx = g("10/09/2012 ", "15/10/2012") expecting your reply. thanks veepsirtt On Tue, Sep 25, 2012 at 12:10 PM, <veepsirtt@gmail.com> wrote: > Hi Duncan > > How to pass the...
2016 Feb 16
4
[help] Kaleidoscope build fails after llvm-3.8
...st&, llvm::Instruction*)", referenced from: llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >::CreateFCmp(llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::MDNode*) in toy-1f302b.o "llvm::DIBuilder::createFunction(llvm::DIScope*, llvm::StringRef, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DISubroutineType*, bool, bool, unsigned int, unsigned int, bool, llvm::MDTupleTypedArrayWrapper<llvm::DITemplateParameter>, llvm::DISubprogram*)", referenced from: (anonymous namespace)::Functio...
2014 Sep 11
3
[LLVMdev] patch for DragonEgg 3.3
Hi - attached is a patch to enable building DragonEgg (x86_64) for LLVM3.3 and LLVM3.4. That is, add these changes to the 3.3 release, and it becomes possible to build DragonEgg against a llvm3.4 compiler. Regards, Richard Gorton Cognitive Electronics rcgorton at cog-e.com ---------- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name:
2016 Nov 18
2
DWARF gotchas moving from 3.7.1 to 3.9.0
...ier). I can run llc manually on my IR without complaint. However, I am not able to ascertain whether llc runs the debug info verifier by default. > > One of the changes I had to make to get my code to compile was to remove the function argument (of Function* type) from the call to DIBuilder::createFunction(). This appears to be my problem, as my functions do not appear to have debug info: > > From my 3.7.1 code: > > define void @func(%artype*) #4 !dbg !5 { > !5 = distinct !DISubprogram(n...) > > From 3.9.0: > > define void @func(%artype*) #4 { > > What must I...
2008 May 22
4
[LLVMdev] SSE intrinsic alignment bug?
...clude "llvm/Module.h" #include "llvm/Intrinsics.h" #include "llvm/Instructions.h" #include "llvm/ModuleProvider.h" #include "llvm/ExecutionEngine/JIT.h" #include "llvm/Support/LLVMBuilder.h" using namespace llvm; static Function *createFunction(Module *module) { VectorType *float4Type = VectorType::get(Type::FloatTy, 4); PointerType *float4PointerType = PointerType::get(float4Type, 0); std::vector<const Type*> functionArguments; functionArguments.push_back(float4PointerType); functionArgumen...
2015 Feb 19
4
[LLVMdev] Parameter names in IR and debug info
...actual function at all. To build corresponding debug info, I must: 6. Build a llvm::DIArray, using llvm::getOrCreateArray, from the results of 4. 7. Build a llvm::DIComposite type for the function, using llvm::createSubroutineType, from the result of 6. 8. Build a llvm::DIFunction using llvm::createFunction, from the result of 7. Here, I need the formal values, with names, first, before building the function type. This appears to imply that, in debug info, the formal names are also part of the function type, which thus cannot be reused for a different function with different formal names. Can I...
2013 Jun 25
0
[LLVMdev] Create new Function in llvm
If I have a set of basic blocks and edges and I need to create for them a new function with new entry and end points. Could I create this directly in LLVM , just like createFunction(F) then F.insert(bb, edges) which bb is a basic block and edges is the new edges for the new function. Thanks -- *Rasha Salah Omar Msc Student at E-JUST Demonestrator at Faculty of Computers and Informatics Benha University * -------------- next part -------------- An HTML attachment was sc...
2012 Jun 01
1
Help with this web scrape function
...get forwarded to a new page. Which selections are being made in the forms does not really matter, I get quite far, pls see the code: library(RCurl) library(RHTMLForms) library(XML) pageForms = getHTMLFormDescription("http://toast.gasunie.de/gud/search.aspx?soid=GUD&lang=de") fun = createFunction(pageForms[[1]]) retSubmit = fun('ctl00$MainContent$GasQuality' = "H", 'ctl00$MainContent$PointList' = "H071", 'ctl00$MainContent$PointType' = "EN", 'ctl00$MainContent$Publishers' = "HourValues", 'ctl00$MainContent$ListH...
2012 Oct 17
0
Passing the parameters for web form using getHTMLFormDescription
...eindia.com/, http://marathi.bseindia.com/, http://gujarati.bseindia.com/, Select Language, Hindi, Marathi, Gujarati txtscrip: [ Scrip Name / Code ] ................................................................................................................................................. g = createFunction(ff[[1]]) here after how to call the function like this and getting the table out of it. xx = g("10/09/2012 ", "15/10/2012") expecting your reply. thanks veepsirtt -- View this message in context: http://r.789695.n4.nabble.com/Passing-the-parameters-for-web-form-using-...
2012 Sep 19
1
scraping with session cookies
Hi, I am starting coding in r and one of the things that i want to do is to scrape some data from the web. The problem that I am having is that I cannot get passed the disclaimer page (which produces a session cookie). I have been able to collect some ideas and combine them in the code below but I dont get passed the disclaimer page. I am trying to agree the disclaimer with the postForm and write