Lines Matching defs:Alloca
725 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
886 // var = alloca double
907 // Create an alloca for the variable in the entry block.
908 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
915 // Store the value into the alloca.
916 Builder.CreateStore(StartVal, Alloca);
931 NamedValues[VarName] = Alloca;
955 // Reload, increment, and restore the alloca. This handles the case where
957 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
959 Builder.CreateStore(NextVar, Alloca);
1009 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1010 Builder.CreateStore(InitVal, Alloca);
1017 NamedValues[VarName] = Alloca;
1077 // Create an alloca for this variable.
1078 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName());
1080 // Store the initial value into the alloca.
1081 Builder.CreateStore(&Arg, Alloca);
1084 NamedValues[Arg.getName()] = Alloca;