search for: runon

Displaying 20 results from an estimated 31 matches for "runon".

Did you mean: runn
2004 Dec 08
0
Are there any digital phones that runon asteriskyet?
>I hear ya. I guess what I was getting at was that I couldn't see much > hope of getting Asterisk to natively support proprietary sets, It is not that I want to use proprietary phones, I want the benefits that native digital phones will provide. This will allow Asterisk to work more effectively in office environments. As to the quad or octo BRI ports, I'm looking for more phone
2009 Jul 20
2
[LLVMdev] LLVMContext: Who Creates It?
Dear Owen, Are passes supposed to grab the LLVMContext from the Module/Function/BasicBlock passed into their runOn<Module/Function/BasicBlock> method, or is the PassManager supposed to set the pass's Context member variable automatically? I thought it was the latter, but after an SVN update of LLVM, my passes have a NULL Context, and the LLVM code looks like the passes are all setting their Context m...
2012 Dec 17
3
[LLVMdev] LoopPass doFinalization() called multiple times per program?
...<http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass>) >> is misleading or >> incorrect (or if I'm just missing something.) The documentation states: >> >> "The doFinalization method ... is called when the pass framework has >> finished >> calling runOnLoop <http://llvm.org/docs/**WritingAnLLVMPass.html#** >> runOnLoop <http://llvm.org/docs/WritingAnLLVMPass.html#runOnLoop>> for >> >> every loop in the program being compiled." >> >> From this, I understood that for a single instance of a LoopPass &gt...
2012 Dec 17
0
[LLVMdev] LoopPass doFinalization() called multiple times per program?
...;http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass>) is misleading or > incorrect (or if I'm just missing something.) The documentation states: > > "The doFinalization method ... is called when the pass framework has > finished > calling runOnLoop > <http://llvm.org/docs/__WritingAnLLVMPass.html#__runOnLoop > <http://llvm.org/docs/WritingAnLLVMPass.html#runOnLoop>> for > > every loop in the program being compiled." > > From this, I understood that for a single instance...
2020 Jul 17
4
Allowed operations for passes that report "no change"
...e structural hash of the function has changed, and complains that the pass didn’t correctly report that it changed the function [4] (even though materially, it didn’t). This raises a broader question of what we really mean when we say that a pass is allowed to report it made no changes through its runOn* function(s): A) The obvious, and most restrictive condition would be that the pass can only return false if it treated the Function/Module/etc that it visited purely as read-only. From what I can tell, a lot of passes conservatively assume this is the required condition. B) Less obvious would be...
2009 Jul 20
0
[LLVMdev] LLVMContext: Who Creates It?
Dear John, I think you must call (YourPassManager)->doInitialization() to set the LLVMContext object. Nicolas John Criswell wrote: > Dear Owen, > > Are passes supposed to grab the LLVMContext from the > Module/Function/BasicBlock passed into their > runOn<Module/Function/BasicBlock> method, or is the PassManager supposed > to set the pass's Context member variable automatically? > > I thought it was the latter, but after an SVN update of LLVM, my passes > have a NULL Context, and the LLVM code looks like the passes are all >...
2013 Jul 03
2
[LLVMdev] CallGraph in immutable pass
Hello, is there any way I can access CallGraph from immutable pass via getAnalysis? As I understand it, this may not be possible, because immutable pass don't have runOn method and is never actually planned. But I'm not 100% sure how this works, so I don't know if there is some other way. Thanks, Robert Barucak
2010 Feb 27
2
[LLVMdev] RegisterPass isAnalysis parameter
...execution from the rest of the infrastructure > so the class need not be visible to anything outside the > implementation > of the pass itself. Even though the PassManager implements the Hollywood Principle, something outside of the pass implementation still has to invoke one of the runOn* functions. And I'm not understanding how this invocation can occur if the implementation is invisible. Maybe I should just chalk this up to template magic... On a related note, the source code comments in PassSupport.h (line 156) say that the RegisterPass instance should be declared in...
2009 Jun 18
2
[LLVMdev] Explicitly Freeing Allocas
...r > example, give you the number of bytes used to store a type. > > Read the document on Writing an LLVM Pass > (http://llvm.org/docs/WritingAnLLVMPass.html) to learn how to have your > pass declare the TargetData pass as a prerequisite and to get a pointer > to it when your > runOnFunction/runOnModule/runOnBasicBlock/runOn<whatever> method is > called. Then use the doxygen documentation to find the correct method > of the TargetData pass > (http://llvm.org/doxygen/classllvm_1_1TargetData.html) to use to get the > size of the type that you allocated via all...
2009 Jun 18
0
[LLVMdev] Explicitly Freeing Allocas
...ne specific information and can, for example, give you the number of bytes used to store a type. Read the document on Writing an LLVM Pass (http://llvm.org/docs/WritingAnLLVMPass.html) to learn how to have your pass declare the TargetData pass as a prerequisite and to get a pointer to it when your runOnFunction/runOnModule/runOnBasicBlock/runOn<whatever> method is called. Then use the doxygen documentation to find the correct method of the TargetData pass (http://llvm.org/doxygen/classllvm_1_1TargetData.html) to use to get the size of the type that you allocated via alloca. -- John T. &...
2020 Jul 17
2
Allowed operations for passes that report "no change"
...of the function has changed, and complains that the pass didn’t correctly report that it changed the function [4] (even though materially, it didn’t). >> >> This raises a broader question of what we really mean when we say that a pass is allowed to report it made no changes through its runOn* function(s): >> >> A) The obvious, and most restrictive condition would be that the pass can only return false if it treated the Function/Module/etc that it visited purely as read-only. From what I can tell, a lot of passes conservatively assume this is the required condition. >>...
2015 Dec 02
2
fuzzer crash (but not the good kind)
...s(unsigned char*) /home/brian/src/fuzzpy/llvm_src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep.cc:467:5 #3 0x1b7b53 in fuzzer::Fuzzer::PrepareCoverageBeforeRun() /home/brian/src/fuzzpy/llvm_src//llvm/lib/Fuzzer/FuzzerLoop.cpp:264:5 #4 0x1b501b in fuzzer::Fuzzer::RunOne(std::vector<unsigned char, std::allocator<unsigned char> > const&) /home/brian/src/fuzzpy/llvm_src//llvm/lib/Fuzzer/FuzzerLoop.cpp:212:3 #5 0x1b6be3 in fuzzer::Fuzzer::ShuffleAndMinimize() /home/brian/src/fuzzpy/llvm_src//llvm/lib/Fuzzer/FuzzerLoop.cpp:195:11 #6 0x14477b in...
2012 Dec 16
0
[LLVMdev] LoopPass doFinalization() called multiple times per program?
...g if the documentation for LoopPass > (http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass) is misleading or > incorrect (or if I'm just missing something.) The documentation states: > > "The doFinalization method ... is called when the pass framework has finished > calling runOnLoop <http://llvm.org/docs/WritingAnLLVMPass.html#runOnLoop> for > every loop in the program being compiled." > > From this, I understood that for a single instance of a LoopPass sub-class, the > doFinalization method would be called exactly once, after all loops had been &gt...
2012 Dec 13
2
[LLVMdev] LoopPass doFinalization() called multiple times per program?
I'm wondering if the documentation for LoopPass ( http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass) is misleading or incorrect (or if I'm just missing something.) The documentation states: "The doFinalization method ... is called when the pass framework has finished calling runOnLoop<http://llvm.org/docs/WritingAnLLVMPass.html#runOnLoop> for every loop in the program being compiled." >From this, I understood that for a single instance of a LoopPass sub-class, the doFinalization method would be called exactly once, after all loops had been seen. However in pra...
2015 Dec 03
2
fuzzer crash (but not the good kind)
...an/src/fuzzpy/llvm_src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep.cc:467:5 >> #3 0x1b7b53 in fuzzer::Fuzzer::PrepareCoverageBeforeRun() >> /home/brian/src/fuzzpy/llvm_src//llvm/lib/Fuzzer/FuzzerLoop.cpp:264:5 >> #4 0x1b501b in fuzzer::Fuzzer::RunOne(std::vector<unsigned char, >> std::allocator<unsigned char> > const&) >> /home/brian/src/fuzzpy/llvm_src//llvm/lib/Fuzzer/FuzzerLoop.cpp:212:3 >> #5 0x1b6be3 in fuzzer::Fuzzer::ShuffleAndMinimize() >> /home/brian/src/fuzzpy/llvm_src//llvm/lib/Fuzzer/Fuzz...
2009 Jun 18
0
[LLVMdev] Explicitly Freeing Allocas
...number of bytes used to store a type. > > > > Read the document on Writing an LLVM Pass > > (http://llvm.org/docs/WritingAnLLVMPass.html) to learn how to have your > > pass declare the TargetData pass as a prerequisite and to get a pointer > > to it when your > > runOnFunction/runOnModule/runOnBasicBlock/runOn<whatever> method is > > called. Then use the doxygen documentation to find the correct method > > of the TargetData pass > > (http://llvm.org/doxygen/classllvm_1_1TargetData.html) to use to get the > > size of the type that yo...
2009 Jun 18
5
[LLVMdev] Explicitly Freeing Allocas
Hello, I would just like to ask if it's possible to explicitly free allocas. This is because I need to call functions that take structs of different sizes as input, (possibly inside of loops) and I would rather avoid a stack overflow. If this is not possible, an alternate solution would be for me to allocate an array of bytes larger than all the struct types I may be using, and cast that
2015 Dec 03
2
fuzzer crash (but not the good kind)
...lvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep.cc:467:5 >>>> #3 0x1b7b53 in fuzzer::Fuzzer::PrepareCoverageBeforeRun() >>>> /home/brian/src/fuzzpy/llvm_src//llvm/lib/Fuzzer/FuzzerLoop.cpp:264:5 >>>> #4 0x1b501b in fuzzer::Fuzzer::RunOne(std::vector<unsigned char, >>>> std::allocator<unsigned char> > const&) >>>> /home/brian/src/fuzzpy/llvm_src//llvm/lib/Fuzzer/FuzzerLoop.cpp:212:3 >>>> #5 0x1b6be3 in fuzzer::Fuzzer::ShuffleAndMinimize() >>>> /home/brian/src/fuzzp...
2004 Jun 18
0
[LLVMdev] MachineOperand: GlobalAddress vs. ExternalSymbol
...ations, but that's scary). If you wanted to do that, it would be fine. Be aware that the code generators are set up as function passes though, so you would have to insert all function prototypes in the doInitialization(...) method of the function pass: you can't just do it on the fly from runOn*Function. The real reason that we aren't doing this currently is that we don't want code generators to be hacking on the LLVM module. This greatly interferes with JIT-style multi-pass optimization and other things. Unfortunately, we are a long way from this though, as the lowering passes...
2004 Jun 18
3
[LLVMdev] MachineOperand: GlobalAddress vs. ExternalSymbol
Chris Lattner wrote: > > Second, MO_ExternalSymbol is used for storing name of external > > variable/function, right? Why it's not possible to use MO_GlobalAddress, > > where returned GlobalValue* has isExternal set to true? The > > GlobalValue::getName would return the name of the symbol. > > Using the GlobalValue is certainly the preferred way if you have it.