similar to: [LLVMdev] could you give me some advice ?

Displaying 14 results from an estimated 14 matches similar to: "[LLVMdev] could you give me some advice ?"

2006 Mar 25
1
[LLVMdev] could you give me some advice ?
hi I have one llvm program like this : ... ; define ConstantArray "E1$str" = internal constant [3 x sbyte] c"E1\00" ; use getPtrPtrFromArrayPtr to define SByte* from ConstantArray "E1$entry" = internal constant sbyte* getelementptr ([3 x sbyte]* "E1$str", uint 0, uint 0) ... when i want to get std::string object from this declaration in
2006 Mar 27
1
[LLVMdev] could you give me some advice ?
excuse me for bother you again . a little supplement Constant* c = findValue(m,"E1$entry"); Constant* c2 = findValue(m,"E1$str"); I can get string object from c2 string s = cast<ConstantArray>(c2)->getAsString(); but it is not applicable for c string s= cast<ConstantArray>(c)->getAsString(); // Assert Fail because c is ConstantExpr::GetElementPtr
2006 Mar 27
0
[LLVMdev] could you give me some advice ?
for example , I have a LLVM bc file generated from c program like this ... char E1$str[3] = "E1"; char* E1$entry = (char*)E1$str; struct { char* name_list[16]; } table = { E1$entry, E2$entry, ... }; ... now I need load the bc file , get all names ("E1","E2"...) , then print and save it. of course, i only know the global variable table name . I can get
2005 Mar 24
4
Can a Samba server join multiple NT domain?
Hi, Say if there are DomainX and DomainY, both are not in trusted relationship. Can a Samba server join both DomainX and DomainY? I can't find any related information on Internet. Your help would be appreciated. Thanks! Yimin
2005 Jun 07
0
[LLVMdev] one question about up reference
Chris Lattner,您好! I see , Thank you very much ! ======= 2005-06-06 23:39:20 您在来信中写道:======= >On Mon, 6 Jun 2005, aqex wrote: >> hi, >> I have one question about up reference, why use \nested_level_count in type description. >> and have to handle it in HandleUpRefs() (AsmParser/llvmAsmParser.y) , >> >> why not just insert type name and return in calcTypeName()
2006 May 23
1
[LLVMdev] Indirect function call
>On Monday 22 May 2006 22:22, Andrew Lenharth wrote: > The BasicCallGraph class only lines out the indirect calls(makes the caller point to external node), >but do not resolves them using alias analysis such as DSA. >I think DSA solve this problem for interested call sites by finding the corresponding globals(i.e. the functions) >for the callsite DSnode. Yes, if we want to
2005 Jul 25
0
[LLVMdev] Compile a linux kernel with LLVM?
ymxia at nudt.edu.cn wrote: > When I compiled a linux kernel, gccas was used to compile assembly code. > > But gccas cannot recognize the line comment character "#" of gnu assembler, > > and abort the compile with reporting a error "syntax error, unexpected $undefined". > > I watch llvm/tools/gccas, but donot known how to add this function in it. >
2013 Mar 06
1
Re: [PATCH 00 of 10 [RFC]] Automatically place gueston host's NUMA nodes with xl
hello, I used the patch in xen4.1 and enabled it has the feature of numa placement,but has the earlier said problem.Can you help me that what is the reason? And where is the newest version of the patch,pls provide the latest development branch's address. Thanks, Regards, Butine huang Zhejiang University 2013-03-06 >On mer, 2013-03-06 at 10:49 +0000, butian huang wrote: >>
2005 Apr 07
0
[LLVMdev] arguments to standard library functions
Right now I am trying to capture the function name and the number of arguments , so this following is the pass I wrote . ------------------------------------------------------------- struct pass06a : public ModulePass { virtual bool runOnModule(Module &M) { std::vector<const Type*> pList; pList.push_back( PointerType::get(Type::SByteTy) ); pList.push_back(
2005 Jul 07
0
[LLVMdev] Compile a linux kernel with LLVM?
ymxia at nudt.edu.cn wrote: > Hi, > > I want to check some properties of linux kernel with llvm, but I don't know how to compile a > > linux kernel to an llvm's .bc file. I have let llvm's gcc front-end ignore inline assembly by > > modifying cfrontend/src/gcc/llvm-expand.c, and replace CC/as/ar in the Makefile of the kernel > > with
2005 Mar 21
3
[LLVMdev] arguments to standard library functions
HI , I understand that the standard C library functions are executed using the native library of the host machine. ( for example when we execute a bytecode to extract the profile info ) Is it possible to extract for each standard library function that is executed , the arguments that the function is called with. For example if printf ("%d", some_int ) when called during runtime
2007 Jun 15
1
[LLVMdev] EquivalenceClasses: findValue vs. findLeader
Given an object o of ElemType in an instance of EquivalenceClasses, I need to get a list of all members of the equivalence class that o is in. For various reasons, it is easiest if I could get an EquivalenceClasses::iterator that I can pass to member_begin and member_end. So naturally, I did something like this (pseudo-C++): EquivalenceClasses::iterator i = equiv.findValue(o);
2006 Jan 15
1
[LLVMdev] A question about alias analysis
Oh, your meaning is pointers in a aliasset have equal address logically? But I think that two pointers are alias means they point to a same memory object, so if pointers "p" and "q" are alias, it seem as p = q, not &p = &q. Another question is about "forwarding". "AliasSet[XXXX, 0] may alias, Mod/Ref forwarding to YYYY" (XXXX != YYYY) means the
2004 Aug 17
0
[LLVMdev] What's the meaning of [0 x sbyte*]?
Yes! I should have looked this some days before, but I forgot it just now :). thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040817/95dd9fff/attachment.html>