search for: subst1

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

Did you mean: substr
2008 Apr 06
0
[LLVMdev] [HEADS-UP] API changes for <class Use> size reduction.
...place of the previously used "operator new". I have changed the llvm-gcc4.2 and clang projects, but if you have any llvm projects that tracks the SVN trunk of the API you will have to upgrade. in *tcsh* I have used scripts like this to do the transition: setenv CLASS BasicBlock setenv SUBST1 "s/new $CLASS/${CLASS}::Create/g" setenv SUBST2 "s/new llvm::$CLASS/llvm::${CLASS}::Create/g" foreach i (*.cpp) sed -e "$SUBST1" -e "$SUBST2" < $i > 2$i rm $i mv 2$i $i end for visiting all .cpp files in a tree you can use: foreach i (`find . -name &q...
2008 May 16
0
[LLVMdev] API CHANGE: create*() --> Create
...h it in the next days, if there is no opposition. I shall also take care of the tutorials and other documentation I have commit privileges for. Cheers and keep on hacking, Gabor ################## tcsh script follows ################## foreach CLASS (BinaryOperator CmpInst CastInst) setenv SUBST1 "s/${CLASS}::create/${CLASS}::Create/g" setenv SUBST2 "s/llvm::${CLASS}::create/llvm::${CLASS}::Create/g" foreach i (`find . -name "*.cpp"`) sed -e "$SUBST1" -e "$SUBST2" < $i > $i.2 rm $i mv $i.2 $i end foreach i (`find . -name "*.h&quot...
2008 Apr 16
5
[LLVMdev] PATCH: Use size reduction -- wave2
On Apr 16, 2:13 am, Dan Gohman <goh... at apple.com> wrote: > Hi Gabor, > > Can you provide performance data for this? I'd > like to know what affect these changes have on > compile time. Hi Dan, Unfortunately, no. I can feed you with some speculation, though, see below. The reason why I cannot do measurements (at the moment) is that - I have no experience with