reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  487   ArgTypes.append(T->getNumParams(), ShadowTy);
  492     RetType = StructType::get(RetType, ShadowTy);
  501   ArgTypes.append(T->getNumParams(), ShadowTy);
  530     ArgTypes.push_back(ShadowTy);
  552   ShadowTy = IntegerType::get(*Ctx, ShadowWidth);
  553   ShadowPtrTy = PointerType::getUnqual(ShadowTy);
  555   ZeroShadow = ConstantInt::getSigned(ShadowTy, 0);
  567   Type *DFSanUnionArgs[2] = { ShadowTy, ShadowTy };
  567   Type *DFSanUnionArgs[2] = { ShadowTy, ShadowTy };
  569       FunctionType::get(ShadowTy, DFSanUnionArgs, /*isVarArg=*/ false);
  572       FunctionType::get(ShadowTy, DFSanUnionLoadArgs, /*isVarArg=*/ false);
  575   Type *DFSanSetLabelArgs[3] = { ShadowTy, Type::getInt8PtrTy(*Ctx), IntptrTy };
  584     Type *ArgTLSTy = ArrayType::get(ShadowTy, 64);
  593     GetRetvalTLSTy = FunctionType::get(PointerType::getUnqual(ShadowTy), false);
  717     Type *ArgTLSTy = ArrayType::get(ShadowTy, 64);
  723     RetvalTLS = Mod->getOrInsertGlobal("__dfsan_retval_tls", ShadowTy);
 1019   return IRB.CreateConstGEP2_64(ArrayType::get(DFS.ShadowTy, 64),
 1039             IRB.CreateLoad(DFS.ShadowTy, getArgTLS(A->getArgNo(), ArgTLSPos));
 1048         assert(Shadow->getType() == DFS.ShadowTy);
 1062   assert(Shadow->getType() == DFS.ShadowTy);
 1138     PHINode *Phi = PHINode::Create(DFS.ShadowTy, 2, "", &Tail->front());
 1189       return IRB.CreateLoad(DFS.ShadowTy, i->second);
 1214     LoadInst *LI = new LoadInst(DFS.ShadowTy, ShadowAddr, "", Pos);
 1220     Value *ShadowAddr1 = IRB.CreateGEP(DFS.ShadowTy, ShadowAddr,
 1223         IRB.CreateAlignedLoad(DFS.ShadowTy, ShadowAddr, ShadowAlign),
 1224         IRB.CreateAlignedLoad(DFS.ShadowTy, ShadowAddr1, ShadowAlign), Pos);
 1245     Value *TruncShadow = IRB.CreateTrunc(WideShadow, DFS.ShadowTy);
 1286     PHINode *Shadow = PHINode::Create(DFS.ShadowTy, 2, "", &Tail->front());
 1353     VectorType *ShadowVecTy = VectorType::get(DFS.ShadowTy, ShadowVecSize);
 1372         IRB.CreateConstGEP1_32(DFS.ShadowTy, ShadowAddr, Offset);
 1454     DFSF.AllocaShadowMap[&I] = IRB.CreateAlloca(DFSF.DFS.ShadowTy);
 1617           auto *LabelVATy = ArrayType::get(DFSF.DFS.ShadowTy,
 1634               new AllocaInst(DFSF.DFS.ShadowTy,
 1654           if (CustomCI->getArgOperand(ArgNo)->getType() == DFSF.DFS.ShadowTy)
 1660               IRB.CreateLoad(DFSF.DFS.ShadowTy, DFSF.LabelReturnAlloca);
 1698       LoadInst *LI = NextIRB.CreateLoad(DFSF.DFS.ShadowTy, DFSF.getRetvalTLS());
 1723       ArrayType *VarArgArrayTy = ArrayType::get(DFSF.DFS.ShadowTy, VarArgSize);
 1767       PHINode::Create(DFSF.DFS.ShadowTy, PN.getNumIncomingValues(), "", &PN);
 1770   Value *UndefShadow = UndefValue::get(DFSF.DFS.ShadowTy);