Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:AI

86     bool HasAddressTaken(const Instruction *AI);
171 bool StackProtector::HasAddressTaken(const Instruction *AI) {
172 for (Value::const_use_iterator UI = AI->use_begin(), UE = AI->use_end();
176 if (AI == SI->getValueOperand())
179 if (AI == SI->getOperand(0))
235 if (AllocaInst *AI = dyn_cast<AllocaInst>(II)) {
236 if (AI->isArrayAllocation()) {
243 dyn_cast<ConstantInt>(AI->getArraySize())) {
254 if (ContainsProtectableArray(AI->getAllocatedType(), Strong))
257 if (Strong && HasAddressTaken(AI)) {
278 AllocaInst *&AI, Value *&StackGuardVar) {
299 AI = new AllocaInst(PtrTy, "StackGuardSlot", InsPt);
302 Value *Args[] = { LI, AI };
317 AllocaInst *AI = 0; // Place on stack that stores the stack guard.
326 CreatePrologue(F, M, RI, TLI, Trip, AI, StackGuardVar);
370 LoadInst *LI2 = new LoadInst(AI, "", true, BB);