Displaying 6 results from an estimated 6 matches for "createtest".
Did you mean:
create_test
2013 Jun 22
2
[LLVMdev] About writing a modulePass in addPreEmitPass() for NVPTX
...x way of NVPTXAllocaHoisting, NVPTXSplitBBatBar and
transforms/Hello.
The following is part of the codes:
in NVPTXTargetMachine.cpp
bool NVPTXPassConfig::addPreEmitPass()
{
addPass(createTest());
return false;
}
in NVPTXTest.h
namespace llvm{
class NVPTXTest : public ModulePass
{
void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll(); }...
2013 Jun 21
0
[LLVMdev] About writing a modulePass in addPreEmitPass() for NVPTX
Are you sure you are initializing your pass properly? Can you show a
stripped down version of your pass?
On Fri, Jun 21, 2013 at 7:27 AM, Anthony Yu <swpenim at gmail.com> wrote:
> Hello,
>
> I want to write a modulePass in addPreEmitPass() for NVPTX, but I
> encounter an assertion failed when executing clang.
>
> Here is my error message.
> ====
> Pass 'NVPTX
2013 Jun 21
2
[LLVMdev] About writing a modulePass in addPreEmitPass() for NVPTX
Hello,
I want to write a modulePass in addPreEmitPass() for NVPTX, but I encounter
an assertion failed when executing clang.
Here is my error message.
====
Pass 'NVPTX Assembly Printer' is not initialized.
Verify if there is a pass dependency cycle.
Required Passes:
llc: /home/pyyu/local/llvm/lib/IR/PassManager.cpp:637: void
llvm::PMTopLevelManager::schedulePass(llvm::Pass*): Assertion
2013 Jun 24
0
[LLVMdev] About writing a modulePass in addPreEmitPass() for NVPTX
...) const {
AU.setPreservesAll();
ModulePass::getAnalysisUsage(AU);
}
};
in NVPTXTest.cpp
#include "NVPTXTest.h"
namespace llvm
{
//static RegisterPass<NVPTXTest> X("test", "Test Module Pass");
char NVPTXTest::ID = 0;
ModulePass *createTest()
{
return new NVPTXTest();
}
}
using namespace llvm;
INITIALIZE_PASS(NVPTXTest, "test", "TestModule Pass", true, true);
====
When I use the same way to write a CallGraphSCCPass, it still doesn't work,
but this time it tells me that my CallGraphSCCPass is no...
2013 Jun 24
2
[LLVMdev] About writing a modulePass in addPreEmitPass() for NVPTX
...etAnalysisUsage(AU);
> }
>
> };
>
> in NVPTXTest.cpp
>
> #include "NVPTXTest.h"
>
> namespace llvm
> {
> //static RegisterPass<NVPTXTest> X("test", "Test Module Pass");
> char NVPTXTest::ID = 0;
> ModulePass *createTest()
> {
> return new NVPTXTest();
> }
> }
> using namespace llvm;
>
> INITIALIZE_PASS(NVPTXTest, "test", "TestModule Pass", true, true);
> ====
> When I use the same way to write a CallGraphSCCPass, it still doesn't work,
> but thi...
2016 Nov 04
2
[RFC] Supporting ARM's SVE in LLVM
...Support for scalar booleans is simply to provide symmetry so that all variants
of *icmp*/*fcmp* can be passed as input to *test*.
#### Supported Conditions:
* all false
* all true
* any false
* any true
* first false
* first true
* last false
* last true
### IRBuilder Interface:
```cpp
Value *CreateTest(TestInst::Predicate P, Value *V, const Twine &Name = "");
```
### Fixed-Width Behaviour
Same as scalable.
### SelectionDAG:
See [*ISD::TEST_VECTOR*](#isdtestvector).
## *propff*
### Syntax:
`<result> = propff <ty> <v1>, <v2>`
### Overview:
This instruc...