similar to: [LLVMdev] unique id for a llvm Instruction‏

Displaying 20 results from an estimated 1300 matches similar to: "[LLVMdev] unique id for a llvm Instruction‏"

2013 Aug 29
0
[LLVMdev] unique id for a llvm Instruction
> > > what if another pointer points to the same instruction? > You can have many pointers to the same instruction. However, the address in memory where that instruction lives is unique. Instruction pointers (or Value pointers) are thus commonly used as keys in hash tables or similar. Instructions or Values are almost never copied, so that you won't find the same instruction at
2013 Sep 24
2
[LLVMdev] get the address in memory where an instruction lives
Hi, i want to get the address in memory of an instruction pointer and use it as a key in my tables. i iterate over the instructions in LLVM IR like this: for (Module::iterator fi = Mod->begin(), fi_end = Mod->end(); fi != fi_end; ++fi) { for (inst_iterator I = inst_begin(fi), E = inst_end(fi); I != E; ++I) { Instruction *ii = dyn_cast<Instruction>(&*I);
2013 Jul 01
1
[LLVMdev] Problem with building llvm and running project
Hello, i am new to LLVM and i want to create my own project with a cpp file which calls llvm functions and then run it. I download clang source, llvm source and compiler-rt source. I tried to configure and build llvm using this http://llvm.org/docs/GettingStarted.html#getting-started-with-llvm but it failed because .h files included on top of the Hello.cpp couldn't found. Can you tell me
2013 Oct 17
1
[LLVMdev] get the value of a Constant in LLVM IR
Hello, i parse the llvm IR (llvm-3.3 version) and when i meet a constant, i want to get it's value. eg i32 5, i want to get the 5. I am interested in ConstantInt-ConstantFP-ConstantArray-ConstantStruct subclasses. Things are a bit easier with ConstantInt and ConstantFP constants but how could i get the value of a ConstantArray? The
2013 Sep 24
1
[LLVMdev] get the address in memory where an instruction lives
On 24.09.2013, at 17:38, Eirini Psallida <eirini.psallida at gmail.com <http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>> wrote: >* Hi, *>* i want to get the address in memory of an instruction pointer and use it as a key in my tables.*>* i iterate over the instructions in LLVM IR like this:*>* for (Module::iterator fi = Mod->begin(), fi_end = Mod->end(); fi !=
2013 Aug 29
1
[LLVMdev] unique id for a llvm Instruction
Hello, i would like to ask, is there a way to get a unique id for each llvm instruction? Eirini -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130829/ca483d68/attachment.html>
2013 Aug 29
0
[LLVMdev] unique id for a llvm Instruction
Hello, i would like to ask, is there a way to get a unique id for each llvm instruction? Eirini -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130829/34741ae5/attachment.html>
2013 Jul 11
0
[LLVMdev] lower-lever IR (A-normal form)
I would like to create some tables for my instructions in the IR. For example a table that has all the store instructions. I want all the arguments to a function or instruction or constant etc to be trivial. So to fix my previous example instead of having : call void @llvm.memcpy.i32(i8* %19, i8* getelementptr inbounds ([2 x [2 x [3 x i8]]]* @main.s, i32 0, i32 0, i32 0, i32 0), i32 12, i32
2013 Jul 10
2
[LLVMdev] lower-lever IR (A-normal form)
Hi, i would like to ask you, if i can get a lower-level representation than the llvm IR.For example, having the following instruction in the llvm IR, call void @llvm.memcpy.i32(i8* %19, i8* getelementptr inbounds ([2 x [2 x [3 x i8]]]* @main.s, i32 0, i32 0, i32 0, i32 0), i32 12, i32 1) i would like to get something like this (in A-normal form (without nested instructions):%temp = i8*
2013 Aug 29
3
[LLVMdev] outdated debug metamata doc?
Is anyone maintaining this page? http://llvm.org/docs/SourceLevelDebugging.html#composite-type-descriptors DIBuilder::createSubroutineType seems to generate metadatas with a different format. Thanks! Wei -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130829/70facf50/attachment.html>
2013 Aug 29
2
Installing asterisk and dahdi on ubuntu
Hello; I am installing asterisk and dahdi on ubuntu "and I used my username bghayad to login for ubuntu and do the installation, actually I feel my problem is related to the?username and permission but I am not able how to fix it", I am facing now mainly the following two problems: The first one, asterisk is not starting automatically although I did sudo make config (for asterisk and
2013 Aug 29
2
[LLVMdev] COFF.h and windows.h conflict
Right now, we have: In COFF.h: class COFF { enum MachineTypes { IMAGE_FILE_MACHINE_UNKNOWN = 0x0, ... }; }; In windows.h: #define IMAGE_FILE_MACHINE_UNKNOWN 0 * If you first include COFF.h and then windows.h, COFF::IMAGE_FILE_MACHINE_UNKNOWN will be preprocessed into COFF:0. * If you first include Windows.h and then COFF.h, COFF.h won't work because it's enum will
2013 Aug 29
3
[LLVMdev] COFF.h and windows.h conflict
It was happening in a few files using COFF.h in LLDB for the windows branch (Windows.h is required for some typedef over Mutex, thread, socket, etc...). As said before, I am currently checking if it could be avoided (probably some refactoring will be needed). However I was wondering if it might not be easier to just avoid this clash at all by avoiding it in LLVM. Alternatively I could #undef
2007 Feb 02
0
Mutiple unique key(Compisitive unique)
Hi All.. I am new to ruby on rails.I want set the unquie on two fields. Means in one model three fileds are there. 1.Id, 2.C-id 3.Q-id I want set the unquie on C-Id,Q-Id combindely on the model validations Can u give me advice? I tryed with statemwnt validates_uniqueness_of [:c_id, :qid] But it now giving the proper results Regards, Ramya -- Posted via http://www.ruby-forum.com/.
2008 Jun 25
3
selecting values that are unique, instead of selecting unique values
unique(c(1:10,1)) gives 1:10 (i.e. unique values), is there any method to get only 2:10 (i.e. values that are unique) ? _________________________________________________________________ Easily edit your photos like a pro with Photo Gallery. [[alternative HTML version deleted]]
2018 Jul 02
1
MARGIN in base::unique.matrix() and base::unique.array()
Hi, The man page for base::unique.matrix() and base::unique.array() says that MARGIN is expected to be a single integer. OTOH the code in charge of checking the user supplied MARGIN is: if (length(MARGIN) > ndim || any(MARGIN > ndim)) stop(gettextf("MARGIN = %d is invalid for dim = %d", MARGIN, dx), domain = NA) which doesn't really make sense. As
2006 Nov 15
2
Newbie: how to get unique x unique x aggregate chart?
I'm very new to R, so please forgive me if I just missed the answer in existing documentation... I have a data set with at least three columns, X, Y, and Z. I want to produce a chart where one axis shows all the unique values of X, and the other axis shows all the unique values of Y. Each cell within the chart should contain the result of applying an aggregate function (such as mean(), for
2009 Sep 30
2
Change directory to implement same programes
HI, R-Users, I have one problem: I have written the the programs which process all file in one directory: for example: setwd("C:/Documents and Settings/lma/My Documents/Vappu-saved/Log") as the start. .......... But I have many folders like "Vappu-saved" and there are a lot of files in each directory. What I want is using the same program what I write for the above
2007 Nov 19
5
Howto modify samba printer ACLs without Windows?
Hi all, I would like to limit access to our samba shared printers to certain user groups by commandline without using Windows. Is this possible? Thanks! Christoph
2009 Feb 13
1
linksys PAP2t and asterisk
Hi all: when i make a call from linksys pap2t to an asterisk server a fake ring is heard some times ,but when sending calls between 2 asterisk servers through sip no fake ring is heard but real one. any suggestions please. _________________________________________________________________ Windows Live?: E-mail. Chat. Share. Get more ways to connect.