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

References

lib/Transforms/IPO/LowerTypeTests.cpp
  389   IntegerType *Int1Ty = Type::getInt1Ty(M.getContext());
  390   IntegerType *Int8Ty = Type::getInt8Ty(M.getContext());
  391   PointerType *Int8PtrTy = Type::getInt8PtrTy(M.getContext());
  392   ArrayType *Int8Arr0Ty = ArrayType::get(Type::getInt8Ty(M.getContext()), 0);
  393   IntegerType *Int32Ty = Type::getInt32Ty(M.getContext());
  395   IntegerType *Int64Ty = Type::getInt64Ty(M.getContext());
  396   IntegerType *IntPtrTy = M.getDataLayout().getIntPtrType(M.getContext(), 0);
  396   IntegerType *IntPtrTy = M.getDataLayout().getIntPtrType(M.getContext(), 0);
  594       M, Int8Ty, /*isConstant=*/true, GlobalValue::PrivateLinkage, nullptr);
  595   auto MaskGlobal = new GlobalVariable(M, Int8Ty, /*isConstant=*/true,
  630   Constant *ByteArrayConst = ConstantDataArray::get(M.getContext(), BAB.Bytes);
  632       new GlobalVariable(M, ByteArrayConst->getType(), /*isConstant=*/true,
  647         Int8Ty, 0, GlobalValue::PrivateLinkage, "bits", GEP, &M);
  675                                       "bits_use", ByteArray, &M);
  731     return ConstantInt::getFalse(M.getContext());
  734   const DataLayout &DL = M.getDataLayout();
  736     return ConstantInt::getTrue(M.getContext());
  823   const DataLayout &DL = M.getDataLayout();
  857   Constant *NewInit = ConstantStruct::getAnon(M.getContext(), GlobalInits);
  859       new GlobalVariable(M, NewInit->getType(), /*isConstant=*/true,
  880                             "", CombinedGlobalElemPtr, &M);
  910                             "__typeid_" + TypeId + "_" + Name, C, &M);
  964     Constant *C = M.getOrInsertGlobal(("__typeid_" + TypeId + "_" + Name).str(),
  993                       MDNode::get(M.getContext(), {MinC, MaxC}));
 1059                                          Name + ".cfi", &M);
 1071                              F->getAddressSpace(), Name + ".cfi_jt", &M);
 1077                              F->getAddressSpace(), Name, &M);
 1088             F->getAddressSpace(), "", &M);
 1252         FunctionType::get(Type::getVoidTy(M.getContext()),
 1255         M.getDataLayout().getProgramAddressSpace(),
 1256         "__cfi_global_var_init", &M);
 1258         BasicBlock::Create(M.getContext(), "entry", WeakInitializerFn);
 1259     ReturnInst::Create(M.getContext(), BB);
 1266     appendToGlobalCtors(M, WeakInitializerFn, /* Priority */ 0);
 1300                        F->getAddressSpace(), "", &M);
 1384   BasicBlock *BB = BasicBlock::Create(M.getContext(), "entry", F);
 1489       Function::Create(FunctionType::get(Type::getVoidTy(M.getContext()),
 1492                        M.getDataLayout().getProgramAddressSpace(),
 1493                        ".cfi.jumptable", &M);
 1502     ScopedSaveAliaseesAndUsed S(M);
 1522               F->getName() + ".cfi_jt", CombinedGlobalElemPtr, &M);
 1538                                 CombinedGlobalElemPtr, &M);
 1761       M.getFunction(Intrinsic::getName(Intrinsic::type_test));
 1763       M.getFunction(Intrinsic::getName(Intrinsic::icall_branch_funnel));
 1784     for (auto &F : M) {
 1797       ScopedSaveAliaseesAndUsed S(M);
 1834   const bool CrossDsoCfi = M.getModuleFlag("Cross-DSO CFI") != nullptr;
 1850     NamedMDNode *CfiFunctionsMD = M.getNamedMetadata("cfi.functions");
 1889         Function *F = M.getFunction(FunctionName);
 1903               FunctionType::get(Type::getVoidTy(M.getContext()), false),
 1905               M.getDataLayout().getProgramAddressSpace(), FunctionName, &M);
 1905               M.getDataLayout().getProgramAddressSpace(), FunctionName, &M);
 1942   for (GlobalObject &GO : M.global_objects()) {
 2026             CI->getOperand(I), Offset, M.getDataLayout()));
 2135     if (NamedMDNode *AliasesMD = M.getNamedMetadata("aliases")) {
 2144             !M.getNamedAlias(Aliasee))
 2159         auto *Alias = GlobalAlias::create("", M.getNamedAlias(Aliasee));
 2164         if (auto *F = M.getFunction(AliasName)) {
 2177     if (NamedMDNode *SymversMD = M.getNamedMetadata("symvers")) {
 2187         M.appendModuleInlineAsm(