Lines Matching defs:APC
1079 AllocaPoisonCall APC = {&II, AI, SizeValue, DoPoison};
1081 StaticAllocaPoisonCallVec.push_back(APC);
1083 DynamicAllocaPoisonCallVec.push_back(APC);
3037 for (const auto &APC : DynamicAllocaPoisonCallVec) {
3038 assert(APC.InsBefore);
3039 assert(APC.AI);
3040 assert(ASan.isInterestingAlloca(*APC.AI));
3041 assert(!APC.AI->isStaticAlloca());
3043 IRBuilder<> IRB(APC.InsBefore);
3044 poisonAlloca(APC.AI, APC.Size, IRB, APC.DoPoison);
3171 for (const auto &APC : StaticAllocaPoisonCallVec) {
3172 assert(APC.InsBefore);
3173 assert(APC.AI);
3174 assert(ASan.isInterestingAlloca(*APC.AI));
3175 assert(APC.AI->isStaticAlloca());
3177 ASanStackVariableDescription &Desc = *AllocaToSVDMap[APC.AI];
3180 if (const DILocation *LifetimeLoc = APC.InsBefore->getDebugLoc().get()) {
3310 for (const auto &APC : StaticAllocaPoisonCallVec) {
3311 const ASanStackVariableDescription &Desc = *AllocaToSVDMap[APC.AI];
3314 size_t End = Begin + (APC.Size + L.Granularity - 1) / L.Granularity;
3316 IRBuilder<> IRB(APC.InsBefore);
3318 APC.DoPoison ? ShadowAfterScope : ShadowInScope, Begin, End,