Home | History | Annotate | Download | only in Chapter1

Lines Matching defs:Alloca

714 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
875 // var = alloca double
896 // Create an alloca for the variable in the entry block.
897 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
904 // Store the value into the alloca.
905 Builder.CreateStore(StartVal, Alloca);
920 NamedValues[VarName] = Alloca;
944 // Reload, increment, and restore the alloca. This handles the case where
946 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
948 Builder.CreateStore(NextVar, Alloca);
998 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
999 Builder.CreateStore(InitVal, Alloca);
1006 NamedValues[VarName] = Alloca;
1059 // Create an alloca for this variable.
1060 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName());
1062 // Store the initial value into the alloca.
1063 Builder.CreateStore(&Arg, Alloca);
1066 NamedValues[Arg.getName()] = Alloca;