Lines Matching refs:APC
1118 AllocaPoisonCall APC = {&II, AI, SizeValue, DoPoison}; in visitIntrinsicInst() local
1120 StaticAllocaPoisonCallVec.push_back(APC); in visitIntrinsicInst()
1122 DynamicAllocaPoisonCallVec.push_back(APC); in visitIntrinsicInst()
3219 for (const auto &APC : DynamicAllocaPoisonCallVec) { in processDynamicAllocas() local
3220 assert(APC.InsBefore); in processDynamicAllocas()
3221 assert(APC.AI); in processDynamicAllocas()
3222 assert(ASan.isInterestingAlloca(*APC.AI)); in processDynamicAllocas()
3223 assert(!APC.AI->isStaticAlloca()); in processDynamicAllocas()
3225 IRBuilder<> IRB(APC.InsBefore); in processDynamicAllocas()
3226 poisonAlloca(APC.AI, APC.Size, IRB, APC.DoPoison); in processDynamicAllocas()
3354 for (const auto &APC : StaticAllocaPoisonCallVec) { in processStaticAllocas() local
3355 assert(APC.InsBefore); in processStaticAllocas()
3356 assert(APC.AI); in processStaticAllocas()
3357 assert(ASan.isInterestingAlloca(*APC.AI)); in processStaticAllocas()
3358 assert(APC.AI->isStaticAlloca()); in processStaticAllocas()
3360 ASanStackVariableDescription &Desc = *AllocaToSVDMap[APC.AI]; in processStaticAllocas()
3363 if (const DILocation *LifetimeLoc = APC.InsBefore->getDebugLoc().get()) { in processStaticAllocas()
3505 for (const auto &APC : StaticAllocaPoisonCallVec) { in processStaticAllocas() local
3506 const ASanStackVariableDescription &Desc = *AllocaToSVDMap[APC.AI]; in processStaticAllocas()
3509 size_t End = Begin + (APC.Size + L.Granularity - 1) / L.Granularity; in processStaticAllocas()
3511 IRBuilder<> IRB(APC.InsBefore); in processStaticAllocas()
3513 APC.DoPoison ? ShadowAfterScope : ShadowInScope, Begin, End, in processStaticAllocas()