Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Changeset 664:eef8ac26c66c

Show
Ignore:
Timestamp:
10/06/08 16:54:08 (3 months ago)
Author:
Christian Kamm <kamm incasoftware de>
branch:
default
Message:

Some missed LLVMDC -> LDC.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • LICENSE

    r434 r664  
    1 LLVMDC is released under the "three-clause BSD" license reproduced below with  
     1LDC is released under the "three-clause BSD" license reproduced below with  
    22the following exceptions: 
    33 
     
    1111 
    1212-- "three-clause BSD" -- 
    13 Copyright (c) 2007-2008 LLVMDC Team. 
     13Copyright (c) 2007-2008 LDC Team. 
    1414All rights reserved. 
    1515 
     
    2222      list of conditions and the following disclaimer in the documentation and/or  
    2323      other materials provided with the distribution. 
    24     * Neither the name of the LLVMDC Team nor the names of its contributors may be  
     24    * Neither the name of the LDC Team nor the names of its contributors may be  
    2525      used to endorse or promote products derived from this software without specific 
    2626      prior written permission. 
  • demos/ray.d

    r620 r664  
    1414} 
    1515 
    16 version(LLVMDC) 
     16version(LDC) 
    1717{ 
    1818pragma(intrinsic, "llvm.sqrt.f64") 
  • dmd/arrayop.c

    r510 r664  
    309309    {   /* In library, refer to it. 
    310310         */ 
    311         // LLVMDC FIXME    
     311        // LDC FIXME    
    312312        fd = FuncDeclaration::genCfunc(NULL, type, name); 
    313313    } 
  • dmd/cast.c

    r510 r664  
    11841184    if (!t->equals(t2b)) 
    11851185        e2 = e2->castTo(sc, t); 
    1186     // LLVMDC: llvm uses typesafe pointer arithmetic 
     1186    // LDC: llvm uses typesafe pointer arithmetic 
    11871187    #if !IN_LLVM 
    11881188    if (t1b->next->isbit()) 
  • dmd/cond.c

    r587 r664  
    128128    static char* reserved[] = 
    129129    { 
    130     "DigitalMars", "LLVM", "LLVMDC", "LLVM64", 
     130    "DigitalMars", "LLVM", "LDC", "LLVM64", 
    131131    "X86", "X86_64", "PPC", "PPC64", 
    132132    "Windows", "Win32", "Win64", 
  • dmd/expression.c

    r639 r664  
    268268            n++; 
    269269 
    270             // LLVMDC seems dmd misses it sometimes here :/ 
     270            // LDC seems dmd misses it sometimes here :/ 
    271271            f->vthis->nestedref = 1; 
    272272 
     
    37573757    } 
    37583758 
    3759     // LLVMDC: Fixes bug 1161, http://d.puremagic.com/issues/show_bug.cgi?id=1161 
     3759    // LDC: Fixes bug 1161, http://d.puremagic.com/issues/show_bug.cgi?id=1161 
    37603760    // check access to VarDeclaration 
    37613761    accessCheck(loc, sc, NULL, var); 
     
    55565556    { 
    55575557    e1 = e1->semantic(sc); 
    5558     // LLVMDC we need a copy as we store the LLVM tpye in TypeFunction, and delegate/members have different types for 'this' 
     5558    // LDC we need a copy as we store the LLVM tpye in TypeFunction, and delegate/members have different types for 'this' 
    55595559    type = new TypeDelegate(func->type->syntaxCopy()); 
    55605560    type = type->semantic(loc, sc); 
     
    62246224        VarDeclaration *v = dve->var->isVarDeclaration(); 
    62256225 
    6226         // LLVMDC 
     6226        // LDC 
    62276227        if (f && f->isIntrinsic()) 
    62286228        { 
     
    78447844    e2 = e2->checkIntegral(); 
    78457845    //e2 = e2->castTo(sc, Type::tshiftcnt); 
    7846     e2 = e2->castTo(sc, e1->type); // LLVMDC 
     7846    e2 = e2->castTo(sc, e1->type); // LDC 
    78477847    return this; 
    78487848} 
     
    78737873    e2 = e2->checkIntegral(); 
    78747874    //e2 = e2->castTo(sc, Type::tshiftcnt); 
    7875     e2 = e2->castTo(sc, e1->type); // LLVMDC 
     7875    e2 = e2->castTo(sc, e1->type); // LDC 
    78767876    return this; 
    78777877} 
     
    79027902    e2 = e2->checkIntegral(); 
    79037903    //e2 = e2->castTo(sc, Type::tshiftcnt); 
    7904     e2 = e2->castTo(sc, e1->type); // LLVMDC 
     7904    e2 = e2->castTo(sc, e1->type); // LDC 
    79057905    return this; 
    79067906} 
     
    83908390    e1 = e1->integralPromotions(sc); 
    83918391    //e2 = e2->castTo(sc, Type::tshiftcnt); 
    8392     e2 = e2->castTo(sc, e1->type); // LLVMDC 
     8392    e2 = e2->castTo(sc, e1->type); // LDC 
    83938393    type = e1->type; 
    83948394    } 
     
    84158415    e1 = e1->integralPromotions(sc); 
    84168416    //e2 = e2->castTo(sc, Type::tshiftcnt); 
    8417     e2 = e2->castTo(sc, e1->type); // LLVMDC 
     8417    e2 = e2->castTo(sc, e1->type); // LDC 
    84188418    type = e1->type; 
    84198419    } 
     
    84408440    e1 = e1->integralPromotions(sc); 
    84418441    //e2 = e2->castTo(sc, Type::tshiftcnt); 
    8442     e2 = e2->castTo(sc, e1->type); // LLVMDC 
     8442    e2 = e2->castTo(sc, e1->type); // LDC 
    84438443    type = e1->type; 
    84448444    } 
     
    90939093#if IN_LLVM 
    90949094 
    9095 // Strictly LLVMDC specific stuff 
     9095// Strictly LDC specific stuff 
    90969096 
    90979097GEPExp::GEPExp(Loc loc, Expression* e, Identifier* id, unsigned idx) 
  • dmd/expression.h

    r619 r664  
    159159    virtual elem *toElem(IRState *irs); 
    160160    virtual dt_t **toDt(dt_t **pdt); 
    161     // LLVMDC 
     161    // LDC 
    162162    virtual llvm::Constant *toConstElem(IRState *irs); 
    163163}; 
     
    186186    elem *toElem(IRState *irs); 
    187187    dt_t **toDt(dt_t **pdt); 
    188     // LLVMDC 
     188    // LDC 
    189189    virtual llvm::Constant *toConstElem(IRState *irs); 
    190190}; 
     
    211211    elem *toElem(IRState *irs); 
    212212    dt_t **toDt(dt_t **pdt); 
    213     // LLVMDC 
     213    // LDC 
    214214    virtual llvm::Constant *toConstElem(IRState *irs); 
    215215}; 
     
    239239    elem *toElem(IRState *irs); 
    240240    dt_t **toDt(dt_t **pdt); 
    241     // LLVMDC 
     241    // LDC 
    242242    virtual llvm::Constant *toConstElem(IRState *irs); 
    243243}; 
     
    318318    elem *toElem(IRState *irs); 
    319319    dt_t **toDt(dt_t **pdt); 
    320     // LLVMDC 
     320    // LDC 
    321321    virtual llvm::Constant *toConstElem(IRState *irs); 
    322322}; 
     
    348348    elem *toElem(IRState *irs); 
    349349    dt_t **toDt(dt_t **pdt); 
    350     // LLVMDC 
     350    // LDC 
    351351    virtual llvm::Constant *toConstElem(IRState *irs); 
    352352}; 
     
    401401    Expression *doInline(InlineDoState *ids); 
    402402    Expression *inlineScan(InlineScanState *iss); 
    403     // LLVMDC 
     403    // LDC 
    404404    virtual llvm::Constant *toConstElem(IRState *irs); 
    405405}; 
     
    428428    Expression *doInline(InlineDoState *ids); 
    429429    Expression *inlineScan(InlineScanState *iss); 
    430     // LLVMDC 
     430    // LDC 
    431431    virtual llvm::Constant *toConstElem(IRState *irs); 
    432432}; 
     
    461461    Expression *doInline(InlineDoState *ids); 
    462462    Expression *inlineScan(InlineScanState *iss); 
    463     // LLVMDC 
     463    // LDC 
    464464    virtual llvm::Constant *toConstElem(IRState *irs); 
    465465}; 
     
    595595    Expression *doInline(InlineDoState *ids); 
    596596    //Expression *inlineScan(InlineScanState *iss); 
    597     // LLVMDC 
     597    // LDC 
    598598    virtual llvm::Constant *toConstElem(IRState *irs); 
    599599}; 
     
    827827    elem *toElem(IRState *irs); 
    828828 
    829     //LLVMDC: since we don't convert abc.def -> *(&abc + ABC.def.offsetof) 
     829    //LDC: since we don't convert abc.def -> *(&abc + ABC.def.offsetof) 
    830830    // these are needed 
    831831    Expression *optimize(int result); 
     
    902902    Expression *castTo(Scope *sc, Type *t); 
    903903    Expression *optimize(int result); 
    904     // LLVMDC 
     904    // LDC 
    905905    virtual llvm::Constant *toConstElem(IRState *irs); 
    906906}; 
     
    10051005    Identifier *opId(); 
    10061006 
    1007     // LLVMDC 
     1007    // LDC 
    10081008    virtual llvm::Constant *toConstElem(IRState *irs); 
    10091009}; 
     
    15021502#if IN_LLVM 
    15031503 
    1504 // this stuff is strictly LLVMDC 
     1504// this stuff is strictly LDC 
    15051505 
    15061506struct GEPExp : UnaExp 
  • dmd/func.c

    r658 r664  
    9595    assert(!fthrows); // deprecated 
    9696 
    97     // LLVMDC 
     97    // LDC 
    9898    f->intrinsicName = intrinsicName; 
    9999 
     
    20212021 
    20222022// 
    2023 // LLVMDC: Adjusted to give argument info to the runtime function decl. 
     2023// LDC: Adjusted to give argument info to the runtime function decl. 
    20242024// 
    20252025 
  • dmd/lexer.c

    r658 r664  
    703703            else if (id == Id::VENDOR) 
    704704            { 
    705             t->ustring = (unsigned char *)"LLVMDC"; 
     705            t->ustring = (unsigned char *)"LDC"; 
    706706            goto Lstring; 
    707707            } 
  • dmd/lexer.h

    r658 r664  
    162162#endif 
    163163 
    164 // LLVMDC specific 
     164// LDC specific 
    165165#if IN_LLVM 
    166166    TOKgep, 
  • dmd/module.c

    r643 r664  
    123123    srcfile = new File(srcfilename); 
    124124 
    125     // LLVMDC 
     125    // LDC 
    126126    llvmForceLogging = false; 
    127127    this->doDocComment = doDocComment; 
  • dmd/module.h

    r604 r664  
    170170    void genmoduleinfo(); 
    171171 
    172     // LLVMDC 
     172    // LDC 
    173173    void buildTargetFiles(); 
    174174    File* buildFilePath(char* forcename, char* path, char* ext); 
  • dmd/mtype.c

    r658 r664  
    104104ClassDeclaration *Type::typeinfotypelist; 
    105105 
    106 // LLVMDC 
     106// LDC 
    107107Type* Type::topaque; 
    108108 
     
    211211    mangleChar[Tslice] = '@'; 
    212212 
    213     // LLVMDC 
     213    // LDC 
    214214    mangleChar[Topaque] = 'O'; 
    215215 
     
    235235    tvoidptr = tvoid->pointerTo(); 
    236236 
    237     // LLVMDC 
     237    // LDC 
    238238    topaque = new TypeOpaque(); 
    239239 
     
    727727    buf.writeByte(0); 
    728728    sprintf(name, "_D%dTypeInfo_%s6__initZ", 9 + len, buf.data); 
    729 // LLVMDC 
     729// LDC 
    730730// it is not clear where the underscore that's stripped here is added back in 
    731731//    if (global.params.isWindows) 
     
    10031003    switch (ty) 
    10041004    { 
    1005 //LLVMDC: llvm aligns 12 byte reals to 4 byte 
     1005//LDC: llvm aligns 12 byte reals to 4 byte 
    10061006    case Tfloat80: 
    10071007    case Timaginary80: 
     
    10111011        break; 
    10121012 
    1013 //LLVMDC: llvm aligns these to 4 byte boundaries 
     1013//LDC: llvm aligns these to 4 byte boundaries 
    10141014    case Tint64: 
    10151015    case Tuns64: 
     
    15551555    Expressions *arguments; 
    15561556 
    1557     //LLVMDC: Build arguments. 
     1557    //LDC: Build arguments. 
    15581558    static FuncDeclaration *adReverseChar_fd = NULL; 
    15591559    if(!adReverseChar_fd) { 
     
    15861586    Expressions *arguments; 
    15871587 
    1588     //LLVMDC: Build arguments. 
     1588    //LDC: Build arguments. 
    15891589    static FuncDeclaration *adSortChar_fd = NULL; 
    15901590    if(!adSortChar_fd) { 
     
    16211621    assert(size); 
    16221622    dup = (ident == Id::dup); 
    1623     //LLVMDC: Build arguments. 
     1623    //LDC: Build arguments. 
    16241624    static FuncDeclaration *adDup_fd = NULL; 
    16251625    if(!adDup_fd) { 
     
    16571657    bool isBit = (n->ty == Tbit); 
    16581658 
    1659     //LLVMDC: Build arguments. 
     1659    //LDC: Build arguments. 
    16601660    static FuncDeclaration *adSort_fd = NULL; 
    16611661    if(!adSort_fd) { 
     
    16811681    arguments->push(e); 
    16821682    if (next->ty != Tbit) 
    1683         arguments->push(n->getTypeInfo(sc));   // LLVMDC, we don't support the getInternalTypeInfo 
     1683        arguments->push(n->getTypeInfo(sc));   // LDC, we don't support the getInternalTypeInfo 
    16841684                                               // optimization arbitrarily, not yet at least... 
    16851685    e = new CallExp(e->loc, ec, arguments); 
     
    23472347    Expressions *arguments; 
    23482348 
    2349     //LLVMDC: Build arguments. 
     2349    //LDC: Build arguments. 
    23502350    static FuncDeclaration *aaLen_fd = NULL; 
    23512351    if(!aaLen_fd) { 
     
    23682368 
    23692369    assert(size); 
    2370     //LLVMDC: Build arguments. 
     2370    //LDC: Build arguments. 
    23712371    static FuncDeclaration *aaKeys_fd = NULL; 
    23722372    if(!aaKeys_fd) { 
     
    23892389    Expressions *arguments; 
    23902390 
    2391     //LLVMDC: Build arguments. 
     2391    //LDC: Build arguments. 
    23922392    static FuncDeclaration *aaValues_fd = NULL; 
    23932393    if(!aaValues_fd) { 
     
    24142414    Expressions *arguments; 
    24152415 
    2416     //LLVMDC: Build arguments. 
     2416    //LDC: Build arguments. 
    24172417    static FuncDeclaration *aaRehash_fd = NULL; 
    24182418    if(!aaRehash_fd) { 
     
    44664466    accessCheck(e->loc, sc, e, d); 
    44674467 
    4468 // LLVMDC we don't want dot exprs turned into pointer arithmetic. it complicates things for no apparent gain 
     4468// LDC we don't want dot exprs turned into pointer arithmetic. it complicates things for no apparent gain 
    44694469#ifndef IN_LLVM 
    44704470    b = new AddrExp(e->loc, e); 
     
    47314731        } 
    47324732 
    4733 #endif // !LLVMDC 
     4733#endif // !LDC 
    47344734 
    47354735        return e; 
  • dmd/statement.c

    r510 r664  
    15991599         *  _aaApply(aggr, keysize, flde) 
    16001600         */ 
    1601         //LLVMDC: Build arguments. 
     1601        //LDC: Build arguments. 
    16021602        static FuncDeclaration *aaApply2_fd = NULL; 
    16031603        if(!aaApply2_fd) { 
     
    16681668        int j = sprintf(fdname, "_aApply%s%.*s%d", r, 2, fntab[flag], dim); 
    16691669        assert(j < sizeof(fdname)); 
    1670         //LLVMDC: Build arguments. 
     1670        //LDC: Build arguments. 
    16711671        Arguments* args = new Arguments; 
    16721672        args->push(new Argument(STCin, Type::topaque->arrayOf(), NULL, NULL)); 
     
    22442244    cases = NULL; 
    22452245    hasNoDefault = 0; 
    2246     // LLVMDC 
     2246    // LDC 
    22472247    enclosinghandler = NULL; 
    22482248} 
     
    32013201    this->esync = NULL; 
    32023202    this->enclosinghandler = NULL; 
    3203     // LLVMDC 
     3203    // LDC 
    32043204    this->llsync = NULL; 
    32053205} 
     
    32123212    this->esync = esync; 
    32133213    this->enclosinghandler = NULL; 
    3214     // LLVMDC 
     3214    // LDC 
    32153215    this->llsync = NULL; 
    32163216} 
     
    39623962    sc->pop(); 
    39633963 
    3964     // LLVMDC put in labmap 
     3964    // LDC put in labmap 
    39653965    fd->labmap[ident->toChars()] = this; 
    39663966 
  • dmd/statement.h

    r510 r664  
    9595}; 
    9696 
    97 // LLVMDC this is used for tracking try-finally, synchronized and volatile scopes 
     97// LDC this is used for tracking try-finally, synchronized and volatile scopes 
    9898// definitions in gen/llvmhelpers.cpp 
    9999struct EnclosingHandler : Object 
     
    545545    CaseStatement* isCaseStatement() { return this; } 
    546546 
    547     // LLVMDC 
     547    // LDC 
    548548    llvm::BasicBlock* bodyBB; 
    549549    llvm::ConstantInt* llvmIdx; 
     
    571571    void toIR(IRState *irs); 
    572572 
    573     // LLVMDC 
     573    // LDC 
    574574    llvm::BasicBlock* bodyBB; 
    575575}; 
     
    656656    void toIR(IRState *irs); 
    657657 
    658     // LLVMDC: only set if ident is set: label statement to jump to 
     658    // LDC: only set if ident is set: label statement to jump to 
    659659    LabelStatement *target; 
    660660}; 
     
    675675    void toIR(IRState *irs); 
    676676 
    677     // LLVMDC: only set if ident is set: label statement to jump to 
     677    // LDC: only set if ident is set: label statement to jump to 
    678678    LabelStatement *target; 
    679679}; 
     
    872872    void toIR(IRState *irs); 
    873873 
    874     // LLVMDC 
     874    // LDC 
    875875    bool asmLabel;       // for labels inside inline assembler 
    876876}; 
     
    904904    void toIR(IRState *irs); 
    905905 
    906     // LLVMDC 
     906    // LDC 
    907907    // non-zero if this is a branch, contains the target labels identifier 
    908908    Identifier* isBranchToLabel; 
  • dmd/template.c

    r561 r664  
    305305    td = new TemplateDeclaration(loc, ident, p, d); 
    306306     
    307     // LLVMDC 
     307    // LDC 
    308308    td->intrinsicName = intrinsicName; 
    309309     
  • dmd/template.h

    r561 r664  
    8787    int isOverloadable(); 
    8888     
    89     // LLVMDC 
     89    // LDC 
    9090    std::string intrinsicName; 
    9191}; 
     
    316316    AliasDeclaration *isAliasDeclaration(); 
    317317 
    318     // LLVMDC 
     318    // LDC 
    319319    TemplateInstance *tinst; // enclosing template instance 
    320320    void printInstantiationTrace(); 
  • gen/aa.h

    r458 r664  
    1 #ifndef LLVMDC_GEN_AA_H 
    2 #define LLVMDC_GEN_AA_H 
     1#ifndef LDC_GEN_AA_H 
     2#define LDC_GEN_AA_H 
    33 
    44DValue* DtoAAIndex(Loc& loc, Type* type, DValue* aa, DValue* key, bool lvalue); 
     
    66void DtoAARemove(Loc& loc, DValue* aa, DValue* key); 
    77 
    8 #endif // LLVMDC_GEN_AA_H 
     8#endif // LDC_GEN_AA_H 
  • gen/classes.h

    r486 r664  
    1 #ifndef LLVMDC_GEN_CLASSES_H 
    2 #define LLVMDC_GEN_CLASSES_H 
     1#ifndef LDC_GEN_CLASSES_H 
     2#define LDC_GEN_CLASSES_H 
    33 
    44#include "gen/structs.h" 
  • gen/complex.h

    r617 r664  
    1 #ifndef LLVMDC_GEN_COMPLEX_H 
    2 #define LLVMDC_GEN_COMPLEX_H 
     1#ifndef LDC_GEN_COMPLEX_H 
     2#define LDC_GEN_COMPLEX_H 
    33 
    44const llvm::StructType* DtoComplexType(Type* t); 
     
    2727DValue* DtoCastComplex(Loc& loc, DValue* val, Type* to); 
    2828 
    29 #endif // LLVMDC_GEN_COMPLEX_H 
     29#endif // LDC_GEN_COMPLEX_H 
  • gen/dvalue.h

    r601 r664  
    1 #ifndef LLVMDC_GEN_DVALUE_H 
    2 #define LLVMDC_GEN_DVALUE_H 
     1#ifndef LDC_GEN_DVALUE_H 
     2#define LDC_GEN_DVALUE_H 
    33 
    44/* 
     
    169169}; 
    170170 
    171 #endif // LLVMDC_GEN_DVALUE_H 
     171#endif // LDC_GEN_DVALUE_H 
  • gen/functions.h

    r486 r664  
    1 #ifndef LLVMDC_GEN_FUNCTIONS_H 
    2 #define LLVMDC_GEN_FUNCTIONS_H 
     1#ifndef LDC_GEN_FUNCTIONS_H 
     2#define LDC_GEN_FUNCTIONS_H 
    33 
    44const llvm::FunctionType* DtoFunctionType(Type* t, const LLType* thistype, const LLType* nesttype, bool ismain = false); 
  • gen/irstate.h

    r632 r664  
    1 #ifndef LLVMDC_GEN_IRSTATE_H 
    2 #define LLVMDC_GEN_IRSTATE_H 
     1#ifndef LDC_GEN_IRSTATE_H 
     2#define LDC_GEN_IRSTATE_H 
    33 
    44#include <vector> 
     
    235235} 
    236236 
    237 #endif // LLVMDC_GEN_IRSTATE_H 
     237#endif // LDC_GEN_IRSTATE_H 
  • gen/linker.h

    r306 r664  
    1 #ifndef LLVMDC_GEN_LINKER_H 
    2 #define LLVMDC_GEN_LINKER_H 
     1#ifndef LDC_GEN_LINKER_H 
     2#define LDC_GEN_LINKER_H 
    33 
    44#include <vector> 
     
    3434int runExectuable(); 
    3535 
    36 #endif // LLVMDC_GEN_LINKER_H 
     36#endif // LDC_GEN_LINKER_H 
  • gen/llvmhelpers.h

    r632 r664  
    1 #ifndef LLVMDC_GEN_LLVMHELPERS_H 
    2 #define LLVMDC_GEN_LLVMHELPERS_H 
     1#ifndef LDC_GEN_LLVMHELPERS_H 
     2#define LDC_GEN_LLVMHELPERS_H 
    33 
    44#include "gen/llvm.h" 
  • gen/todebug.h

    r250 r664  
    1 #ifndef LLVMDC_GEN_TODEBUG_H 
    2 #define LLVMDC_GEN_TODEBUG_H 
     1#ifndef LDC_GEN_TODEBUG_H 
     2#define LDC_GEN_TODEBUG_H 
    33 
    44void RegisterDwarfSymbols(llvm::Module* mod); 
     
    3838LLGlobalVariable* DtoDwarfGlobalVariable(LLGlobalVariable* ll, VarDeclaration* vd); 
    3939 
    40 #endif // LLVMDC_GEN_TODEBUG_H 
     40#endif // LDC_GEN_TODEBUG_H 
    4141 
    4242 
  • gen/tollvm.h

    r648 r664  
    1 #ifndef LLVMDC_GEN_TOLLVM_H 
    2 #define LLVMDC_GEN_TOLLVM_H 
     1#ifndef LDC_GEN_TOLLVM_H 
     2#define LDC_GEN_TOLLVM_H 
    33 
    44#include "gen/llvm.h" 
     
    145145#include "enums.h" 
    146146 
    147 #endif // LLVMDC_GEN_TOLLVM_H 
     147#endif // LDC_GEN_TOLLVM_H 
  • gen/typeinf.h

    r102 r664  
    1 #ifndef LLVMDC_GEN_TYPEINF_H 
    2 #define LLVMDC_GEN_TYPEINF_H 
     1#ifndef LDC_GEN_TYPEINF_H 
     2#define LDC_GEN_TYPEINF_H 
    33 
    44void DtoResolveTypeInfo(TypeInfoDeclaration* tid); 
  • ir/ir.h

    r136 r664  
    11// this head contains stuff used by all the IR 
    22 
    3 #ifndef LLVMDC_IR_IR_H 
    4 #define LLVMDC_IR_IR_H 
     3#ifndef LDC_IR_IR_H 
     4#define LDC_IR_IR_H 
    55 
    66#include "ir/irforw.h" 
  • ir/irforw.h

    r136 r664  
    1 #ifndef LLVMDC_IR_IRFORW_H 
    2 #define LLVMDC_IR_IRFORW_H 
     1#ifndef LDC_IR_IRFORW_H 
     2#define LDC_IR_IRFORW_H 
    33 
    44// dmd forward declarations 
  • ir/irfunction.h

    r584 r664  
    1 #ifndef LLVMDC_IR_IRFUNCTION_H 
    2 #define LLVMDC_IR_IRFUNCTION_H 
     1#ifndef LDC_IR_IRFUNCTION_H 
     2#define LDC_IR_IRFUNCTION_H 
    33 
    44#include "ir/ir.h" 
  • ir/irlandingpad.h

    r612 r664  
    1 #ifndef LLVMDC_IR_IRLANDINGPADINFO_H 
    2 #define LLVMDC_IR_IRLANDINGPADINFO_H 
     1#ifndef LDC_IR_IRLANDINGPADINFO_H 
     2#define LDC_IR_IRLANDINGPADINFO_H 
    33 
    44#include "ir/ir.h" 
  • ir/irmodule.h

    r252 r664  
    1 #ifndef LLVMDC_IR_IRMODULE_H 
    2 #define LLVMDC_IR_IRMODULE_H 
     1#ifndef LDC_IR_IRMODULE_H 
     2#define LDC_IR_IRMODULE_H 
    33 
    44#include "ir/ir.h" 
  • ir/irstruct.h

    r435 r664  
    1 #ifndef LLVMDC_IR_IRSTRUCT_H 
    2 #define LLVMDC_IR_IRSTRUCT_H 
     1#ifndef LDC_IR_IRSTRUCT_H 
     2#define LDC_IR_IRSTRUCT_H 
    33 
    44#include "ir/ir.h" 
  • ir/irsymbol.h

    r175 r664  
    1 #ifndef LLVMDC_IR_IRSYMBOL_H 
    2 #define LLVMDC_IR_IRSYMBOL_H 
     1#ifndef LDC_IR_IRSYMBOL_H 
     2#define LDC_IR_IRSYMBOL_H 
    33 
    44#include <set> 
  • ir/irtype.h

    r194 r664  
    1 #ifndef LLVMDC_IR_IRTYPE_H 
    2 #define LLVMDC_IR_IRTYPE_H 
     1#ifndef LDC_IR_IRTYPE_H 
     2#define LDC_IR_IRTYPE_H 
    33 
    44#include <set> 
  • ir/irvar.h

    r136 r664  
    1 #ifndef LLVMDC_IR_IRVAR_H 
    2 #define LLVMDC_IR_IRVAR_H 
     1#ifndef LDC_IR_IRVAR_H 
     2#define LDC_IR_IRVAR_H 
    33 
    44#include "ir/ir.h" 
  • lphobos/internal/aaA.d

    r473 r664  
    2929 
    3030/* 
    31  * Modified for LLVMDC by Tomas Lindquist Olsen. 
     31 * Modified for LDC by Tomas Lindquist Olsen. 
    3232 * The DMD implementation wont quite work due to the differences in how 
    3333 * structs are handled. 
  • lphobos/internal/objectimpl.d

    r473 r664  
    3434 
    3535/* 
    36  * This copy is modified to work with LLVMDC 
     36 * This copy is modified to work with LDC 
    3737 * by Tomas Lindquist Olsen, September 2007 
    3838 */ 
  • lphobos/std/format.d

    r662 r664  
    1313 *  Copyright (C) 2004-2006 by Digital Mars, www.digitalmars.com 
    1414 *  Written by Walter Bright 
    15  *  Modified for LLVMDC by Tomas Lindquist Olsen 
     15 *  Modified for LDC by Tomas Lindquist Olsen 
    1616 * 
    1717 *  This software is provided 'as-is', without any express or implied 
  • lphobos/std/intrinsic.d

    r473 r664  
    88   work with the GDC compiler. 
    99   NOTE: This file has been patched from the original GDC distribution to 
    10    work with the LLVMDC compiler. 
     10   work with the LDC compiler. 
    1111 
    1212   Modified by David Friedman, May 2006 
  • lphobos/std/moduleinit.d

    r473 r664  
    1 // Modified for LLVMDC 
     1// Modified for LDC 
    22 
    33module std.moduleinit; 
  • lphobos/std/stdarg.d

    r131 r664  
    77/* This is for use with variable argument lists with extern(D) linkage. */ 
    88 
    9 /* Modified for LLVMDC (LLVM D Compiler) by Tomas Lindquist Olsen, 2007 */ 
     9/* Modified for LDC (LLVM D Compiler) by Tomas Lindquist Olsen, 2007 */ 
    1010