search for: entrup

Displaying 4 results from an estimated 4 matches for "entrup".

2017 Nov 24
3
Get values from a given type
Hi, if one has a Value object, the Type of the Value can be retrieved with getType(). Is there a way back, get a list of all values that refer to a specific type (i.e. a struct etc.)? Regards, Gerion
2017 Jun 11
2
Get segfault with ModulePass
...parison API as std::strings, though, so things like > `user->getOpcodeName() == "<Invalid operator>"` should just work™. getOpcodeName returns a const char* (only reason I use strcmp, not a big fan of this function either). Gerion > On Fri, Jun 9, 2017 at 4:54 PM, Gerion Entrup via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > Hi, > > > > don't know if this is the right list. Please post a better place, > > otherwise. > > > > I'm currently writing a LLVM ModulePass and ran into strange segfaults or > > endles...
2017 Jul 10
2
Problems with registering of ModulePass (with Dependencies)
Hello, I have created a ModulePass, that now needs LoopInfo information. The ModulePass registration is taken from [1]. I use clang to directly invoke it (This is also a hard requirement, because I need the fancy output of clang warnings/remarks). The problem is, that the dependency to the LoopInfoWrapperPass does not seem to work. The error is: --- snip --- clang-4.0:
2017 Jun 09
2
Get segfault with ModulePass
Hi, don't know if this is the right list. Please post a better place, otherwise. I'm currently writing a LLVM ModulePass and ran into strange segfaults or endless loops within LLVM. My main question is, if this is a programming error or API misuse from me or a LLVM bug? Here is some minimal code, that triggers the bug: ---------------- class DebugPass : public ModulePass { public: