Home | History | Annotate | Download | only in Chapter4

Lines Matching defs:Alloca

703 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
864 // var = alloca double
885 // Create an alloca for the variable in the entry block.
886 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
893 // Store the value into the alloca.
894 Builder.CreateStore(StartVal, Alloca);
909 NamedValues[VarName] = Alloca;
933 // Reload, increment, and restore the alloca. This handles the case where
935 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
937 Builder.CreateStore(NextVar, Alloca);
987 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
988 Builder.CreateStore(InitVal, Alloca);
995 NamedValues[VarName] = Alloca;
1055 // Create an alloca for this variable.
1056 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName());
1058 // Store the initial value into the alloca.
1059 Builder.CreateStore(&Arg, Alloca);
1062 NamedValues[Arg.getName()] = Alloca;