HomeSort by: relevance | last modified time | path
    Searched refs:Aliasee (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
GlobalAlias.h 32 const Twine &Name, Constant *Aliasee, Module *Parent);
42 Constant *Aliasee, Module *Parent);
44 // Without the Aliasee.
49 // The module is taken from the Aliasee.
52 GlobalValue *Aliasee);
54 // Type, Parent and AddressSpace taken from the Aliasee.
56 GlobalValue *Aliasee);
58 // Linkage, Type, Parent and AddressSpace taken from the Aliasee.
59 static GlobalAlias *create(const Twine &Name, GlobalValue *Aliasee);
72 void setAliasee(Constant *Aliasee);
    [all...]
ModuleSummaryIndex.h 450 /// This is the Aliasee in the same module as alias (could get from VI, trades
453 /// (as a copy of the aliasee), but the aliasee is not.
466 void setAliasee(ValueInfo &AliaseeVI, GlobalValueSummary *Aliasee) {
468 AliaseeSummary = Aliasee;
474 "Expect to have both aliasee summary and summary list or neither");
479 assert(AliaseeSummary && "Unexpected missing aliasee summary");
488 assert(AliaseeValueInfo && "Unexpected missing aliasee");
492 assert(AliaseeValueInfo && "Unexpected missing aliasee");
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Globals.cpp 477 const Twine &Name, Constant *Aliasee,
480 Aliasee) {
487 Constant *Aliasee, Module *ParentModule) {
488 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule);
499 GlobalValue *Aliasee) {
500 return create(Ty, AddressSpace, Linkage, Name, Aliasee, Aliasee->getParent());
504 GlobalValue *Aliasee) {
505 return create(Aliasee->getValueType(), Aliasee->getAddressSpace(), Link, Name
    [all...]
TypeFinder.cpp 44 if (const Value *Aliasee = A.getAliasee())
45 incorporateValue(Aliasee);
Verifier.cpp 803 const Constant *Aliasee = GA.getAliasee();
804 Assert(Aliasee, "Aliasee cannot be NULL!", &GA);
805 Assert(GA.getType() == Aliasee->getType(),
806 "Alias and aliasee types should match!", &GA);
808 Assert(isa<GlobalValue>(Aliasee) || isa<ConstantExpr>(Aliasee),
809 "Aliasee should be either GlobalValue or ConstantExpr", &GA);
811 visitAliaseeSubExpr(GA, *Aliasee);
Core.cpp 2261 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee,
2266 unwrap<Constant>(Aliasee), unwrap(M)));
2310 void LLVMAliasSetAliasee(LLVMValueRef Alias, LLVMValueRef Aliasee) {
2311 unwrap<GlobalAlias>(Alias)->setAliasee(unwrap<Constant>(Aliasee));
  /src/external/apache2/llvm/dist/llvm/lib/Object/
RecordStreamer.cpp 156 const MCSymbol *Aliasee = Symver.first;
160 // First check if the aliasee binding was recorded in the asm.
161 RecordStreamer::State state = getSymbolState(Aliasee);
189 const GlobalValue *GV = M.getNamedValue(Aliasee->getName());
191 auto MI = MangledNameMap.find(Aliasee->getName());
197 // the aliasee was defined in the IR.
210 // Set the detected binding on each alias with this aliasee.
224 const MCExpr *Value = MCSymbolRefExpr::create(Aliasee, getContext());
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCXX.cpp 142 llvm::Constant *Aliasee = Ref;
144 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType);
147 // of the aliasee.
156 addReplacement(MangledName, Aliasee);
185 Aliasee, &getModule());
CodeGenModule.cpp 370 llvm::Constant *Aliasee = Alias->getIndirectSymbol();
372 if (auto CE = dyn_cast<llvm::ConstantExpr>(Aliasee))
375 AliaseeGV = cast<llvm::GlobalValue>(Aliasee);
387 // to its aliasee's aliasee. We also warn, since the user is probably
393 Aliasee = llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast(
395 Alias->setIndirectSymbol(Aliasee);
2820 llvm::Constant *Aliasee;
2822 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy,
2826 Aliasee = GetOrCreateLLVMGlobal(AA->getAliasee(), DeclTy, 0, nullptr)
    [all...]
ItaniumCXXABI.cpp 4268 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl));
4271 auto *Alias = llvm::GlobalAlias::create(Linkage, "", Aliasee);
4278 assert(Entry->getType() == Aliasee->getType() &&
4313 auto *Aliasee = CGM.GetAddrOfGlobal(BaseDecl);
4314 CGM.addReplacement(MangledName, Aliasee);
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
CompileOnDemandLayer.cpp 37 // on the type of their aliasee.
39 Constant *Aliasee = A.getAliasee();
41 assert(Aliasee->hasName() && "Anonymous aliasee");
44 if (isa<Function>(Aliasee)) {
45 auto *F = cloneFunctionDecl(*A.getParent(), *cast<Function>(Aliasee));
49 } else if (isa<GlobalVariable>(Aliasee)) {
51 *cast<GlobalVariable>(Aliasee));
228 // (1) If any alias is in the partition, its aliasee is also in the partition.
229 // (2) If any aliasee is in the partition, its aliases are also in th
    [all...]
Speculation.cpp 29 auto It = Maps.insert({I.first, {I.second.Aliasee, SrcJD}});
LazyReexports.cpp 180 SourceJD, Alias.second.Aliasee,
DebugUtils.cpp 276 OS << " " << *KV.first << ": " << KV.second.Aliasee << " "
Core.cpp 352 if (&SrcJD == &TgtJD && (QueryAliases.count(KV.second.Aliasee) ||
353 RequestedAliases.count(KV.second.Aliasee)))
357 QuerySymbols.add(KV.second.Aliasee,
405 if (SrcJDDeps.count(KV.second.Aliasee)) {
406 PerAliasDeps = {KV.second.Aliasee};
417 Result->count(KV.second.Aliasee)) &&
424 (*Result)[KV.second.Aliasee].getAddress(), KV.second.AliasFlags);
  /src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
Core.h 370 SymbolAliasMapEntry(SymbolStringPtr Aliasee, JITSymbolFlags AliasFlags)
371 : Aliasee(std::move(Aliasee)), AliasFlags(AliasFlags) {}
373 SymbolStringPtr Aliasee;
  /src/external/apache2/llvm/dist/llvm/lib/MC/
WinCOFFObjectWriter.cpp 355 const MCSymbol &Aliasee = SymRef->getSymbol();
356 if (Aliasee.isUndefined() || Aliasee.isExternal())
357 return GetOrCreateCOFFSymbol(&Aliasee);
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ModuleSummaryAnalysis.cpp 323 // called aliasee for the checks below.
348 // aliasee.
625 auto *Aliasee = A.getBaseObject();
626 auto AliaseeVI = Index.getValueInfo(Aliasee->getGUID());
627 assert(AliaseeVI && "Alias expects aliasee summary to be available");
629 "Expected a single entry per aliasee in per-module index");
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
GlobalOpt.cpp 2388 // If the aliasee has internal linkage, give it the name and linkage
2394 Constant *Aliasee = GA.getAliasee();
2395 GlobalValue *Target = cast<GlobalValue>(Aliasee->stripPointerCasts());
2400 // aliasee. This check also ensures that it is safe to replace the section
2401 // and other attributes of the aliasee with those of the alias.
2435 Constant *Aliasee = J->getAliasee();
2436 GlobalValue *Target = dyn_cast<GlobalValue>(Aliasee->stripPointerCasts());
2437 // We can't trivially replace the alias with the aliasee if the aliasee is
2438 // non-trivial in some way. We also can't replace the alias with the aliasee
    [all...]
LowerTypeTests.cpp 2210 StringRef Aliasee = cast<MDString>(AliasMD->getOperand(1))->getString();
2212 if (!ExportedFunctions.count(Aliasee) ||
2213 ExportedFunctions[Aliasee].Linkage != CFL_Definition ||
2214 !M.getNamedAlias(Aliasee))
2229 auto *Alias = GlobalAlias::create("", M.getNamedAlias(Aliasee));
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
HWAddressSanitizer.cpp 1424 Constant *Aliasee = ConstantExpr::getIntToPtr(
1430 GV->getLinkage(), "", Aliasee, &M);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-c-test/
echo.cpp 1058 // FIXME: Allow NULL aliasee.
1269 if (LLVMValueRef Aliasee = LLVMAliasGetAliasee(Cur)) {
1270 LLVMAliasSetAliasee(Alias, clone_constant(Aliasee, M));
  /src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
llvm_ocaml.c 1282 LLVMValueRef Aliasee, value Name) {
1283 return LLVMAddAlias(M, Ty, Aliasee, String_val(Name));
  /src/external/apache2/llvm/dist/llvm/include/llvm-c/
Core.h 2380 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee,
2431 void LLVMAliasSetAliasee(LLVMValueRef Alias, LLVMValueRef Aliasee);
  /src/external/apache2/llvm/dist/llvm/lib/AsmParser/
LLParser.cpp 986 Constant *Aliasee;
992 if (parseGlobalTypeAndValue(Aliasee))
1000 return error(AliaseeLoc, "invalid aliasee");
1001 Aliasee = ID.ConstantVal;
1004 Type *AliaseeType = Aliasee->getType();
1046 Aliasee, /*Parent*/ nullptr));
1050 Aliasee, /*Parent*/ nullptr));
8511 "Forward referencing alias already has aliasee");
8512 assert(Summary && "Aliasee must be a definition");
8781 /// 'aliasee' ':' GVReference ')
    [all...]

Completed in 51 milliseconds

1 2