search for: slowikmarcin1992

Displaying 3 results from an estimated 3 matches for "slowikmarcin1992".

2017 Jun 05
2
How the LLVM handle the debug location information of continue keyword and right brace(loop end location)?
...ine 6 continue and will generate location information for debugger. My question is they are the same but will be treated differently, I do not know how LLVM backend treat these two IR. Maybe I think these two cases are not related with Clang. At 2017-06-03 22:45:11, "Marcin SÅ‚owik" <slowikmarcin1992 at gmail.com<mailto:slowikmarcin1992 at gmail.com>> wrote: If i'm not mistaken, it is not a matter of LLVM IR nor LLVM backend, but rather LLVM frontend i.e. clang in this case. Also, there is a slight semantic difference between those two cases: `}` is not a statement. `continue` is....
2017 Jun 03
3
How the LLVM handle the debug location information of continue keyword and right brace(loop end location)?
Hi paulr: Thanks for your kindly response. Maybe I don't describe my question cleanly, let me show more information. From my side, I notice that whether we are in the continue keyword mode or we are in the right brace mode, the target of br instruction is the same, i.e. for loop Continue Keyword Mode: ; <label>:6: ; preds = %3 br label
2017 May 15
6
[IR question] Switching on pointers
Hi. First of all, some context. I'm trying to implement a new functionality in an LLVM-based compiler and I need to take various actions based on the value of a given pointer, the possible values being the addresses of various global constants. I tried to use a `switch` instruction but I encountered several problems. The "ideal switch" I'd like to have would look