Lines Matching defs:APC
1203 AllocaPoisonCall APC = {&II, AI, SizeValue, DoPoison};
1205 StaticAllocaPoisonCallVec.push_back(APC);
1207 DynamicAllocaPoisonCallVec.push_back(APC);
3322 for (const auto &APC : DynamicAllocaPoisonCallVec) {
3323 assert(APC.InsBefore);
3324 assert(APC.AI);
3325 assert(ASan.isInterestingAlloca(*APC.AI));
3326 assert(!APC.AI->isStaticAlloca());
3328 IRBuilder<> IRB(APC.InsBefore);
3329 poisonAlloca(APC.AI, APC.Size, IRB, APC.DoPoison);
3458 for (const auto &APC : StaticAllocaPoisonCallVec) {
3459 assert(APC.InsBefore);
3460 assert(APC.AI);
3461 assert(ASan.isInterestingAlloca(*APC.AI));
3462 assert(APC.AI->isStaticAlloca());
3464 ASanStackVariableDescription &Desc = *AllocaToSVDMap[APC.AI];
3467 if (const DILocation *LifetimeLoc = APC.InsBefore->getDebugLoc().get()) {
3610 for (const auto &APC : StaticAllocaPoisonCallVec) {
3611 const ASanStackVariableDescription &Desc = *AllocaToSVDMap[APC.AI];
3614 size_t End = Begin + (APC.Size + L.Granularity - 1) / L.Granularity;
3616 IRBuilder<> IRB(APC.InsBefore);
3618 APC.DoPoison ? ShadowAfterScope : ShadowInScope, Begin, End,