Lines Matching refs:ShadowTy
326 IntegerType *ShadowTy; member in __anonaa9af5010111::DataFlowSanitizer
485 ArgTypes.append(T->getNumParams(), ShadowTy); in getArgsFunctionType()
490 RetType = StructType::get(RetType, ShadowTy); in getArgsFunctionType()
499 ArgTypes.append(T->getNumParams(), ShadowTy); in getTrampolineFunctionType()
528 ArgTypes.push_back(ShadowTy); in getCustomFunctionType()
550 ShadowTy = IntegerType::get(*Ctx, ShadowWidth); in doInitialization()
551 ShadowPtrTy = PointerType::getUnqual(ShadowTy); in doInitialization()
553 ZeroShadow = ConstantInt::getSigned(ShadowTy, 0); in doInitialization()
565 Type *DFSanUnionArgs[2] = { ShadowTy, ShadowTy }; in doInitialization()
567 FunctionType::get(ShadowTy, DFSanUnionArgs, /*isVarArg=*/ false); in doInitialization()
570 FunctionType::get(ShadowTy, DFSanUnionLoadArgs, /*isVarArg=*/ false); in doInitialization()
573 Type *DFSanSetLabelArgs[3] = { ShadowTy, Type::getInt8PtrTy(*Ctx), IntptrTy }; in doInitialization()
582 Type *ArgTLSTy = ArrayType::get(ShadowTy, 64); in doInitialization()
594 FunctionType::get(PointerType::getUnqual(ShadowTy), false))); in doInitialization()
715 Type *ArgTLSTy = ArrayType::get(ShadowTy, 64); in runOnModule()
721 RetvalTLS = Mod->getOrInsertGlobal("__dfsan_retval_tls", ShadowTy); in runOnModule()
1027 assert(Shadow->getType() == DFS.ShadowTy); in getShadow()
1041 assert(Shadow->getType() == DFS.ShadowTy); in setShadow()
1117 PHINode *Phi = PHINode::Create(DFS.ShadowTy, 2, "", &Tail->front()); in combineShadows()
1199 Value *ShadowAddr1 = IRB.CreateGEP(DFS.ShadowTy, ShadowAddr, in loadShadow()
1222 Value *TruncShadow = IRB.CreateTrunc(WideShadow, DFS.ShadowTy); in loadShadow()
1262 PHINode *Shadow = PHINode::Create(DFS.ShadowTy, 2, "", &Tail->front()); in loadShadow()
1318 IntegerType *ShadowTy = IntegerType::get(*DFS.Ctx, Size * DFS.ShadowWidth); in storeShadow() local
1319 Value *ExtZeroShadow = ConstantInt::get(ShadowTy, 0); in storeShadow()
1321 IRB.CreateBitCast(ShadowAddr, PointerType::getUnqual(ShadowTy)); in storeShadow()
1329 VectorType *ShadowVecTy = VectorType::get(DFS.ShadowTy, ShadowVecSize); in storeShadow()
1348 IRB.CreateConstGEP1_32(DFS.ShadowTy, ShadowAddr, Offset); in storeShadow()
1426 DFSF.AllocaShadowMap[&I] = IRB.CreateAlloca(DFSF.DFS.ShadowTy); in visitAllocaInst()
1589 auto *LabelVATy = ArrayType::get(DFSF.DFS.ShadowTy, in visitCallSite()
1606 new AllocaInst(DFSF.DFS.ShadowTy, in visitCallSite()
1626 if (CustomCI->getArgOperand(ArgNo)->getType() == DFSF.DFS.ShadowTy) in visitCallSite()
1694 ArrayType *VarArgArrayTy = ArrayType::get(DFSF.DFS.ShadowTy, VarArgSize); in visitCallSite()
1738 PHINode::Create(DFSF.DFS.ShadowTy, PN.getNumIncomingValues(), "", &PN); in visitPHINode()
1741 Value *UndefShadow = UndefValue::get(DFSF.DFS.ShadowTy); in visitPHINode()