Lines Matching defs:APC
1195 AllocaPoisonCall APC = {&II, AI, SizeValue, DoPoison};
1197 StaticAllocaPoisonCallVec.push_back(APC);
1199 DynamicAllocaPoisonCallVec.push_back(APC);
3316 for (const auto &APC : DynamicAllocaPoisonCallVec) {
3317 assert(APC.InsBefore);
3318 assert(APC.AI);
3319 assert(ASan.isInterestingAlloca(*APC.AI));
3320 assert(!APC.AI->isStaticAlloca());
3322 IRBuilder<> IRB(APC.InsBefore);
3323 poisonAlloca(APC.AI, APC.Size, IRB, APC.DoPoison);
3451 for (const auto &APC : StaticAllocaPoisonCallVec) {
3452 assert(APC.InsBefore);
3453 assert(APC.AI);
3454 assert(ASan.isInterestingAlloca(*APC.AI));
3455 assert(APC.AI->isStaticAlloca());
3457 ASanStackVariableDescription &Desc = *AllocaToSVDMap[APC.AI];
3460 if (const DILocation *LifetimeLoc = APC.InsBefore->getDebugLoc().get()) {
3603 for (const auto &APC : StaticAllocaPoisonCallVec) {
3604 const ASanStackVariableDescription &Desc = *AllocaToSVDMap[APC.AI];
3607 size_t End = Begin + (APC.Size + L.Granularity - 1) / L.Granularity;
3609 IRBuilder<> IRB(APC.InsBefore);
3611 APC.DoPoison ? ShadowAfterScope : ShadowInScope, Begin, End,