Home | History | Annotate | Download | only in Instrumentation

Lines Matching refs:Shadow

44 // cannot be combined due to shadow memory constraints.
98 // We must keep these Shadow* constants consistent with the esan runtime.
99 // FIXME: Try to place these shadow constants, the names of the __esan_*
195 Value *appToShadow(Value *Shadow, IRBuilder<> &IRB);
560 Value *EfficiencySanitizer::appToShadow(Value *Shadow, IRBuilder<> &IRB) {
561 // Shadow = ((App & Mask) + Offs) >> Scale
562 Shadow = IRB.CreateAnd(Shadow, ConstantInt::get(IntptrTy, ShadowMask));
569 Shadow = IRB.CreateAdd(Shadow, ConstantInt::get(IntptrTy, Offs));
571 Shadow = IRB.CreateLShr(Shadow, Scale);
572 return Shadow;
856 // (and our shadow memory setup assumes 64-byte cache lines).
866 // We inline instrumentation to set the corresponding shadow bits for
870 // shadow memory for a single cache line.
871 // Our shadow memory model is fine with races when manipulating shadow values.
894 // We use OR to set the shadow bits to avoid corrupting the middle 6 bits,