search for: createname

Displaying 8 results from an estimated 8 matches for "createname".

Did you mean: createnamed
2011 Jul 12
2
[LLVMdev] r134829
...gt; rid of the opaque types - I could not find a relevant discussion in a > mailing list. Hi Vitaly, I didn't add this API, because I'm not very familiar with the C API. It should be very straight-forward: just expose a wrapper for "StructType::setBody" and "StructType::createNamed". Some motivation for the change is here: http://nondot.org/sabre/LLVMNotes/TypeSystemRewrite.txt -Chris
2011 Jul 08
0
[LLVMdev] type-system-rewrite branch near landing
...ou have a patch for this?  Can you create a branch of the clang repo or send an updated version of the patch to the list? I've created a clang type-system-rewrite branch and committed all my purely mechanical changes: de-constifying llvm::Types as necessary, and using the new llvm::StructType::createNamed/setBody to create the "implicit" structs used by things like the Objective-C runtime. I haven't committed anything to do with updating the general Clang -> LLVM type conversion machinery, because I don't know when or whether I'll be able to get it finished. If anyone else...
2011 May 30
0
Question of the XLConnect package
...eet="testdata") # write data to sheet # Create named regions named the column names col1idx=idx2cref(c(2,grep("Var1",names(testdata)), 1+length(testdata$Var1), grep("Var1",names(testdata)))) # addres1=paste(col1idx[[1]],":",col1idx[[2]],sep="") createName(wb,name="Var1",formula=paste("testdata!",addres1,sep="")) # repeat for column 2 col2idx=idx2cref(c(2,grep("Var2",names(testdata)), 1+length(testdata$Var2), grep("Var2",names(testdata)))) addres2=paste(col2idx[[1]],":",col2idx[[2]],sep=&q...
2011 Jun 25
0
[LLVMdev] inefficiencies in ConstantUniqueMap ?
...the Clang bits of this. The biggest problem I've found is that Clang uses LLVM's type resolution not just for forward-declared structs/classes/unions, which convert straightforwardly to the new system, but also for forward-declared enums, which don't. Also, varargs forms of StructType::createNamed() and StructType::setBody() would save a lot of mindless churn in the Clang source code. Jay.
2011 Jun 25
3
[LLVMdev] inefficiencies in ConstantUniqueMap ?
Hi Chris, > 3. Clang/dragonegg need to adapt to the new API (help appreciated!) what needs to be done exactly? Ciao, Duncan.
2011 Jul 07
5
[LLVMdev] type-system-rewrite branch near landing
An update on the type-system-rewrite branch (http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/): It's now to the point where it passes all regression tests all of single source (and most of externals/multisource) when using an LLVM 2.9 version of clang to compile programs to a rbc file. I have what looks like one more subtle type mapping bug to track down, which will
2011 Aug 12
0
[LLVMdev] Minor API change coming
Per the "type system rewrite terminology" thread, I've gone through and renamed two method families: StructType::isAnonymous() -> StructType::isLiteral() StructType::createNamed() -> StructType::create() "create" also takes the arguments in slightly different order (name after elements). I've updated clang/llvm-gcc/dragonegg. To avoid breaking the world all at once, I left the old APIs in for now, but I intend to remove them next week. Please update t...
2011 Jun 27
2
[LLVMdev] inefficiencies in ConstantUniqueMap ?
...8 directly. Basically, if we "need" a type and don't have it, just lower it directly to void instead of 'opaque'. This will lead to some more bitcasts downstream, but we already have that, they get resolved if f is ever implemented. > Also, varargs forms of StructType::createNamed() and > StructType::setBody() would save a lot of mindless churn in the Clang > source code. Please feel free to add it to the branch! -Chris