search for: iulia_s24

Displaying 9 results from an estimated 9 matches for "iulia_s24".

2017 Jun 06
2
Question
Thank you. So the ABI in llvm will be "gnu" for all Linux distributions? On Monday, June 5, 2017 11:39 PM, Tim Northover <t.p.northover at gmail.com> wrote: On 5 June 2017 at 11:54, Iulia Stirb <iulia_s24 at yahoo.com> wrote: > Can you also please tell me how can I find out the ABI (application binary > interface)? Could you send your messages with a smaller font, or better still in plain text? It's very distracting and quite difficult to read (particularly your message about the error...
2019 Sep 03
2
Get constants of undefined types in IR
...t solutions for this error but none of them was appropriate for this case. Could you please help? Regards,Iulia On Tuesday, September 3, 2019, 8:15:26 PM GMT+3, Tim Northover <t.p.northover at gmail.com> wrote: Adding llvm-dev back. On Tue, 3 Sep 2019 at 18:02, Iulia Stirb <iulia_s24 at yahoo.com> wrote: Thank very much you for your answer. Following the indications in your mail, I obtained one of the 16th elements as below: static cpu_set_t getCpuAffinityElement(cpu_set_t affinity, int index) { cpu_set_t mask; CPU_ZERO(&mask); for(int i = index * sizeof(unsigned long);...
2019 Sep 18
2
How to debug passes
Iulia, You need to check the contents of the hello.ll (or hello.bc) file rather than the input *.c file - ultimately that's what opt consumes. Try compiling without any optimisations: clang -O0 -emit-llvm -S hello.c -c -o hello.ll -Andrzej On 18/09/2019 11:34, iulia_s24 wrote: > Hi, > > Actually I copy-pasted step 5 from the article in which I found the > solution, in the text of the mail so that is why dummypass appears > instead of hello. I used hello instead of dummypass in my tries, but it > still doesn't display nothing after recompiling...
2017 Jun 08
2
Question
...architecture is considered sandy bridge for Intel® Xeon® processor E5-4600/2600/1600 product family (I am thinking it could be v1 or v0 in llvm)? Thank you. On Wednesday, June 7, 2017 1:05 AM, Tim Northover <t.p.northover at gmail.com> wrote: On 6 June 2017 at 10:46, Iulia Stirb <iulia_s24 at yahoo.com> wrote: > Thank you. So the ABI in llvm will be "gnu" for all Linux distributions? The last part of the triple will always be "gnu" for x86, yes. The ABI itself I might call GNU, or SysV depending on exactly what I'm talking about. Cheers. Tim. --...
2017 Jun 05
2
Question
Can you also please tell me how can I find out the ABI (application binary interface)? Thanks,Iulia On Monday, June 5, 2017 8:58 PM, Bruce Hoult <bruce at hoult.org> wrote: grep name /proc/cpuinfo Then look up the model number in https://en.wikipedia.org/wiki/List_of_Intel_Xeon_microprocessors On Mon, Jun 5, 2017 at 8:41 PM, Iulia Stirb via llvm-dev <llvm-dev at
2017 Jun 05
2
Build problems
Hello, Could someone please tell me why LLVM and clang downloaded from here: svn co http://llvm.org/svn/llvm-project/llvm/trunk llvmsvn co http://llvm.org/svn/llvm-project/cfe/trunk clang and generated using cmake: cmake -G "Visual Studio 15 2017" ../llvm does not compile in Visual Studio? I am using Batch Build in Visual Studio and I have selected only ALL_BUILD project to build as
2019 Aug 31
3
Get constants of undefined types in IR
Hello all, I would like to obtain a constant that is initialized with a value of type cpu_set_t, a type which is defined by Pthreads. The problem is that a variable of this type cannot be cast to an int value, even in C source code. I tried get methods from Constant or ConstantInt classes, but with no result. How can I obtain such constant object in IR? Thank you, Iulia -------------- next
2019 Sep 10
3
Question about using multiple functions in a Function pass
Hi all, I would want to know if from the runOnFunction method of a Function pass, other functions in IR, except for the one received as parameter, can be obtained as well, from a call instruction, as follows: Function F = dyn_cast<Function>(callInst); Or do I need a Module pass to work in IR with multiple functions from input source code? If so, it is accepted to have O(n^3) complexity in a
2019 Sep 16
2
How to debug passes
Hi, Could you please confirm the following steps for debugging a pass? 1. copy your pass into llvm/lib/Transforms/Hello/Hello.cpp 2. name you pass Hello 3. insert debug messages like:     errs() << "Vis­iting func­tion " << F.get­Name(); 4. get LLVM bitcode:    clang -O3 -emit-llvm hello.c -c -o hello.bc5. disassemble the bitcode:     llvm-dis hel­lo.bc 6. run the pass on