Lines Matching refs:APC
1127 AllocaPoisonCall APC = {&II, AI, SizeValue, DoPoison}; in visitIntrinsicInst() local
1129 StaticAllocaPoisonCallVec.push_back(APC); in visitIntrinsicInst()
1131 DynamicAllocaPoisonCallVec.push_back(APC); in visitIntrinsicInst()
3135 for (const auto &APC : DynamicAllocaPoisonCallVec) { in processDynamicAllocas() local
3136 assert(APC.InsBefore); in processDynamicAllocas()
3137 assert(APC.AI); in processDynamicAllocas()
3138 assert(ASan.isInterestingAlloca(*APC.AI)); in processDynamicAllocas()
3139 assert(!APC.AI->isStaticAlloca()); in processDynamicAllocas()
3141 IRBuilder<> IRB(APC.InsBefore); in processDynamicAllocas()
3142 poisonAlloca(APC.AI, APC.Size, IRB, APC.DoPoison); in processDynamicAllocas()
3270 for (const auto &APC : StaticAllocaPoisonCallVec) { in processStaticAllocas() local
3271 assert(APC.InsBefore); in processStaticAllocas()
3272 assert(APC.AI); in processStaticAllocas()
3273 assert(ASan.isInterestingAlloca(*APC.AI)); in processStaticAllocas()
3274 assert(APC.AI->isStaticAlloca()); in processStaticAllocas()
3276 ASanStackVariableDescription &Desc = *AllocaToSVDMap[APC.AI]; in processStaticAllocas()
3279 if (const DILocation *LifetimeLoc = APC.InsBefore->getDebugLoc().get()) { in processStaticAllocas()
3421 for (const auto &APC : StaticAllocaPoisonCallVec) { in processStaticAllocas() local
3422 const ASanStackVariableDescription &Desc = *AllocaToSVDMap[APC.AI]; in processStaticAllocas()
3425 size_t End = Begin + (APC.Size + L.Granularity - 1) / L.Granularity; in processStaticAllocas()
3427 IRBuilder<> IRB(APC.InsBefore); in processStaticAllocas()
3429 APC.DoPoison ? ShadowAfterScope : ShadowInScope, Begin, End, in processStaticAllocas()