Lines Matching refs:APC
1025 AllocaPoisonCall APC = {&II, AI, SizeValue, DoPoison}; in visitIntrinsicInst() local
1027 StaticAllocaPoisonCallVec.push_back(APC); in visitIntrinsicInst()
1029 DynamicAllocaPoisonCallVec.push_back(APC); in visitIntrinsicInst()
2850 for (const auto &APC : DynamicAllocaPoisonCallVec) { in processDynamicAllocas() local
2851 assert(APC.InsBefore); in processDynamicAllocas()
2852 assert(APC.AI); in processDynamicAllocas()
2853 assert(ASan.isInterestingAlloca(*APC.AI)); in processDynamicAllocas()
2854 assert(!APC.AI->isStaticAlloca()); in processDynamicAllocas()
2856 IRBuilder<> IRB(APC.InsBefore); in processDynamicAllocas()
2857 poisonAlloca(APC.AI, APC.Size, IRB, APC.DoPoison); in processDynamicAllocas()
2923 for (const auto &APC : StaticAllocaPoisonCallVec) { in processStaticAllocas() local
2924 assert(APC.InsBefore); in processStaticAllocas()
2925 assert(APC.AI); in processStaticAllocas()
2926 assert(ASan.isInterestingAlloca(*APC.AI)); in processStaticAllocas()
2927 assert(APC.AI->isStaticAlloca()); in processStaticAllocas()
2929 ASanStackVariableDescription &Desc = *AllocaToSVDMap[APC.AI]; in processStaticAllocas()
2932 if (const DILocation *LifetimeLoc = APC.InsBefore->getDebugLoc().get()) { in processStaticAllocas()
3058 for (const auto &APC : StaticAllocaPoisonCallVec) { in processStaticAllocas() local
3059 const ASanStackVariableDescription &Desc = *AllocaToSVDMap[APC.AI]; in processStaticAllocas()
3062 size_t End = Begin + (APC.Size + L.Granularity - 1) / L.Granularity; in processStaticAllocas()
3064 IRBuilder<> IRB(APC.InsBefore); in processStaticAllocas()
3066 APC.DoPoison ? ShadowAfterScope : ShadowInScope, Begin, End, in processStaticAllocas()