Home | History | Annotate | Download | only in Instrumentation

Lines Matching defs:Ctx

227   LLVMContext *Ctx;
411 ArgTypes.push_back(Type::getInt8PtrTy(*Ctx));
437 Ctx = &M.getContext();
438 ShadowTy = IntegerType::get(*Ctx, ShadowWidth);
440 IntptrTy = DL.getIntPtrType(*Ctx);
460 Type::getVoidTy(*Ctx), Type::getInt8PtrTy(*Ctx), /*isVarArg=*/false);
461 Type *DFSanSetLabelArgs[3] = { ShadowTy, Type::getInt8PtrTy(*Ctx), IntptrTy };
462 DFSanSetLabelFnTy = FunctionType::get(Type::getVoidTy(*Ctx),
465 Type::getVoidTy(*Ctx), None, /*isVarArg=*/false);
467 Type::getVoidTy(*Ctx), Type::getInt8PtrTy(*Ctx), /*isVarArg=*/false);
487 ColdCallWeights = MDBuilder(*Ctx).createBranchWeights(1, 1000);
546 BasicBlock *BB = BasicBlock::Create(*Ctx, "entry", NewF);
550 AttributeSet().addAttribute(*Ctx, AttributeSet::FunctionIndex,
555 new UnreachableInst(*Ctx, BB);
563 ReturnInst::Create(*Ctx, BB);
565 ReturnInst::Create(*Ctx, CI, BB);
578 BasicBlock *BB = BasicBlock::Create(*Ctx, "entry", F);
587 RI = ReturnInst::Create(*Ctx, BB);
589 RI = ReturnInst::Create(*Ctx, CI, BB);
699 ReadOnlyNoneAttrs = AttributeSet::get(*Ctx, AttributeSet::FunctionIndex, B);
1103 BasicBlock *FallbackBB = BasicBlock::Create(*DFS.Ctx, "", F);
1114 IRB.CreateBitCast(ShadowAddr, Type::getInt64PtrTy(*DFS.Ctx));
1143 BasicBlock *NextBB = BasicBlock::Create(*DFS.Ctx, "", F);
1146 WideAddr = NextIRB.CreateGEP(Type::getInt64Ty(*DFS.Ctx), WideAddr,
1213 IntegerType *ShadowTy = IntegerType::get(*DFS.Ctx, Size * DFS.ShadowWidth);
1228 ShadowVec, Shadow, ConstantInt::get(Type::getInt32Ty(*DFS.Ctx), i));
1353 *DFSF.DFS.Ctx)),
1373 Type *Int8Ptr = Type::getInt8PtrTy(*DFSF.DFS.Ctx);
1480 IRB.CreateBitCast(*i, Type::getInt8PtrTy(*DFSF.DFS.Ctx)));
1606 *DFSF.DFS.Ctx, AttributeSet::ReturnIndex,