/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SVals.cpp | 129 const SymExpr* Sym = getAsSymbol(); local 130 if (!Sym) 131 Sym = getAsSymbolicExpression(); 132 return Sym;
|
H A D | SimpleConstraintManager.cpp | 99 SymbolRef Sym, bool Assumption) { 101 QualType T = Sym->getType(); 109 return assumeSymNE(State, Sym, zero, zero); 111 return assumeSymEQ(State, Sym, zero, zero); 193 static void computeAdjustment(SymbolRef &Sym, llvm::APSInt &Adjustment) { argument 195 if (const SymIntExpr *SE = dyn_cast<SymIntExpr>(Sym)) { 198 Sym = SE->getLHS(); 228 SymbolRef Sym = LHS; local 230 computeAdjustment(Sym, Adjustment); 246 return assumeSymEQ(state, Sym, ConvertedIn 98 assumeAuxForSymbol(ProgramStateRef State, SymbolRef Sym, bool Assumption) argument [all...] |
H A D | RangeConstraintManager.cpp | 317 ConditionTruthVal checkNull(ProgramStateRef State, SymbolRef Sym) override; 343 SymbolRef Sym) { 344 const RangeSet *Ranges = State->get<ConstraintRange>(Sym); 355 APSIntType IntType = BV.getAPSIntType(Sym->getType()); 419 RangeConstraintManager::assumeSymNE(ProgramStateRef St, SymbolRef Sym, argument 434 RangeSet New = GetRange(St, Sym).Intersect(getBasicVals(), F, Upper, Lower); 435 return New.isEmpty() ? nullptr : St->set<ConstraintRange>(Sym, New); 439 RangeConstraintManager::assumeSymEQ(ProgramStateRef St, SymbolRef Sym, argument 449 RangeSet New = GetRange(St, Sym).Intersect(getBasicVals(), F, AdjInt, AdjInt); 450 return New.isEmpty() ? nullptr : St->set<ConstraintRange>(Sym, Ne 342 checkNull(ProgramStateRef State, SymbolRef Sym) argument 454 assumeSymLT(ProgramStateRef St, SymbolRef Sym, const llvm::APSInt &Int, const llvm::APSInt &Adjustment) argument 483 assumeSymGT(ProgramStateRef St, SymbolRef Sym, const llvm::APSInt &Int, const llvm::APSInt &Adjustment) argument 512 assumeSymGE(ProgramStateRef St, SymbolRef Sym, const llvm::APSInt &Int, const llvm::APSInt &Adjustment) argument 541 assumeSymLE(ProgramStateRef St, SymbolRef Sym, const llvm::APSInt &Int, const llvm::APSInt &Adjustment) argument [all...] |
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MachObjectWriter.cpp | 28 const MCSymbolRefExpr *Sym, 44 const MCFixup &Fixup, unsigned &RelocType, const MCSymbolRefExpr *Sym, 61 if (Sym->getKind() == MCSymbolRefExpr::VK_GOT) 66 if (Sym->getKind() == MCSymbolRefExpr::VK_GOT) 76 switch (Sym->getKind()) { 92 switch (Sym->getKind()) { 43 getAArch64FixupKindMachOInfo( const MCFixup &Fixup, unsigned &RelocType, const MCSymbolRefExpr *Sym, unsigned &Log2Size, const MCAssembler &Asm) argument
|
/external/llvm/lib/Target/NVPTX/InstPrinter/ |
H A D | NVPTXInstPrinter.cpp | 288 const MCSymbol &Sym = cast<MCSymbolRefExpr>(Expr)->getSymbol(); local 289 O << Sym.getName();
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVVMReflect.cpp | 158 const Value *Sym = GEP->getOperand(0); local 159 assert(isa<Constant>(Sym) && "Format of _reflect function not recognized"); 161 const Constant *SymStr = cast<Constant>(Sym);
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCMCInstLower.cpp | 66 MCSymbol *Sym = Ctx.GetOrCreateSymbol(Name.str()); local 73 getMachOMMI(AP).getFnStubEntry(Sym); 75 return Sym; 87 return Sym; 97 MachO.getHiddenGVStubEntry(Sym) : MachO.getGVStubEntry(Sym); 105 return Sym; 108 return Sym;
|
/external/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 123 const MCSymbol *Sym) const { 321 getTTypeReference(const MCSymbolRefExpr *Sym, unsigned Encoding, argument 328 return Sym; 335 return MCBinaryExpr::CreateSub(Sym, PC, getContext()); 340 const MCExpr *TargetLoweringObjectFile::getDebugThreadLocalSymbol(const MCSymbol *Sym) const { 343 return MCSymbolRefExpr::Create(Sym, *Ctx);
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | Store.h | 218 SymbolRef Sym; member in class:clang::ento::StoreManager::FindUniqueBinding 224 : Sym(sym), Binding(nullptr), First(true) {}
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | SimpleStreamChecker.cpp | 173 static bool isLeaked(SymbolRef Sym, const StreamState &SS, argument 179 ConditionTruthVal OpenFailed = CMgr.isNull(State, Sym); 192 SymbolRef Sym = I->first; local 193 bool IsSymDead = SymReaper.isDead(Sym); 196 if (isLeaked(Sym, I->second, IsSymDead, State)) 197 LeakedStreams.push_back(Sym); 201 State = State->remove<StreamMap>(Sym); 269 SymbolRef Sym = *I; local 273 State = State->remove<StreamMap>(Sym);
|
H A D | GenericTaintChecker.cpp | 353 SymbolRef Sym = getPointedToSymbol(C, Arg); local 354 if (Sym) 355 State = State->addTaint(Sym); 561 SymbolRef Sym = getPointedToSymbol(C, Arg); local 562 if (Sym) 563 State = State->addTaint(Sym);
|
H A D | StreamChecker.cpp | 226 if (SymbolRef Sym = RetVal.getAsSymbol()) { 229 stateNotNull->set<StreamMap>(Sym,StreamState::getOpened(CE)); 231 stateNull->set<StreamMap>(Sym, StreamState::getOpenFailed(CE)); 368 SymbolRef Sym = local 370 if (!Sym) 373 const StreamState *SS = state->get<StreamMap>(Sym); 396 return state->set<StreamMap>(Sym, StreamState::getClosed(CE)); 404 SymbolRef Sym = *I; local 406 const StreamState *SS = state->get<StreamMap>(Sym);
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfAccelTable.h | 192 MCSymbol *Sym; member in struct:llvm::DwarfAccelTable::HashData 203 if (Sym) 204 Sym->print(O);
|
/external/llvm/lib/MC/MCAnalysis/ |
H A D | MCObjectSymbolizer.cpp | 136 MCSymbol *Sym = Ctx.GetOrCreateSymbol(ExtFnName); local 137 const MCExpr *Expr = MCSymbolRefExpr::Create(Sym, Ctx); 172 MCSymbol *Sym = Ctx.GetOrCreateSymbol(SymName); local 173 const MCExpr *Expr = MCSymbolRefExpr::Create(Sym, Ctx);
|
/external/llvm/lib/MC/ |
H A D | MCExpr.cpp | 43 const MCSymbol &Sym = SRE.getSymbol(); local 46 bool UseParens = Sym.getName()[0] == '$'; 48 OS << '(' << Sym << ')'; local 50 OS << Sym; local 153 const MCSymbolRefExpr *MCSymbolRefExpr::Create(const MCSymbol *Sym, argument 156 return new (Ctx) MCSymbolRefExpr(Sym, Kind, Ctx.getAsmInfo()); 663 const MCSymbol &Sym = SRE->getSymbol(); local 667 if (Sym.isVariable() && SRE->getKind() == MCSymbolRefExpr::VK_None) { 668 if (Sym.getVariableValue()->EvaluateAsRelocatableImpl( 806 const MCSymbol &Sym [all...] |
H A D | MCContext.cpp | 103 MCSymbol *Sym = Entry.getValue(); local 105 if (Sym) 106 return Sym; 108 Sym = CreateSymbol(Name); 109 Entry.setValue(Sym); 110 return Sym; 173 MCSymbol *&Sym = LocalSymbols[std::make_pair(LocalLabelVal, Instance)]; local 174 if (!Sym) 175 Sym = CreateTempSymbol(); 176 return Sym; [all...] |
/external/llvm/lib/Object/ |
H A D | Object.cpp | 93 LLVMSymbolIteratorRef Sym) { 94 if (std::error_code ec = (*unwrap(Sym))->getSection(*unwrap(Sect))) 147 LLVMSymbolIteratorRef Sym) { 149 if (std::error_code ec = (*unwrap(SI))->containsSymbol(**unwrap(Sym), ret)) 92 LLVMMoveToContainingSection(LLVMSectionIteratorRef Sect, LLVMSymbolIteratorRef Sym) argument 146 LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI, LLVMSymbolIteratorRef Sym) argument
|
/external/llvm/lib/Target/XCore/ |
H A D | XCoreAsmPrinter.cpp | 79 void emitArrayBound(MCSymbol *Sym, const GlobalVariable *GV); 93 void XCoreAsmPrinter::emitArrayBound(MCSymbol *Sym, const GlobalVariable *GV) { argument 101 Twine(Sym->getName() + StringRef(".globound")));
|
/external/llvm/tools/llvm-objdump/ |
H A D | COFFDump.cpp | 161 resolveSectionAndAddress(const COFFObjectFile *Obj, const SymbolRef &Sym, argument 164 if (std::error_code EC = Sym.getAddress(ResolvedAddr)) 167 if (std::error_code EC = Sym.getSection(iter)) 176 uint64_t Offset, SymbolRef &Sym) { 184 Sym = *I->getSymbol(); 199 SymbolRef Sym; local 200 if (std::error_code EC = resolveSymbol(Rels, Offset, Sym)) 203 if (std::error_code EC = resolveSectionAndAddress(Obj, Sym, Section, Addr)) 215 SymbolRef Sym; local 216 if (std::error_code EC = resolveSymbol(Rels, Offset, Sym)) 175 resolveSymbol(const std::vector<RelocationRef> &Rels, uint64_t Offset, SymbolRef &Sym) argument 226 StringRef Sym; local 228 Out << Sym; local [all...] |
/external/llvm/tools/obj2yaml/ |
H A D | coff2yaml.cpp | 70 object::symbol_iterator Sym = Reloc.getSymbol(); local 71 Sym->getName(Rel.SymbolName); 82 dumpFunctionDefinition(COFFYAML::Symbol *Sym, argument 90 Sym->FunctionDefinition = YAMLFD; 94 dumpbfAndEfLineInfo(COFFYAML::Symbol *Sym, argument 100 Sym->bfAndefSymbol = YAMLAAS; 103 static void dumpWeakExternal(COFFYAML::Symbol *Sym, argument 109 Sym->WeakExternal = YAMLWE; 113 dumpSectionDefinition(COFFYAML::Symbol *Sym, argument 123 Sym 127 dumpCLRTokenDefinition(COFFYAML::Symbol *Sym, const object::coff_aux_clr_token *ObjCLRToken) argument 140 COFFYAML::Symbol Sym; local [all...] |
/external/llvm/tools/yaml2obj/ |
H A D | yaml2coff.cpp | 70 COFFYAML::Symbol &Sym = *i; local 74 StringRef Name = Sym.Name; 76 std::copy(Name.begin(), Name.end(), Sym.Header.Name); 81 Sym.Header.Name + 4) = Index; 84 Sym.Header.Type = Sym.SimpleType; 85 Sym.Header.Type |= Sym.ComplexType << COFF::SCT_COMPLEX_TYPE_SHIFT;
|
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineModuleInfo.h | 347 void setCallSiteLandingPad(MCSymbol *Sym, ArrayRef<unsigned> Sites); 351 SmallVectorImpl<unsigned> &getCallSiteLandingPad(MCSymbol *Sym) { argument 352 assert(hasCallSiteLandingPad(Sym) && 354 return LPadToCallSiteMap[Sym]; 359 bool hasCallSiteLandingPad(MCSymbol *Sym) { argument 360 return !LPadToCallSiteMap[Sym].empty();
|
/external/llvm/include/llvm/Object/ |
H A D | ObjectFile.h | 162 symbol_iterator(SymbolRef Sym) : basic_symbol_iterator(Sym) {} argument
|
/external/llvm/lib/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.cpp | 61 const MCSymbol *Sym) const { 63 NameData += Sym->getName(); 83 Streamer.EmitSymbolValue(Sym, Size); 100 MCSymbol *Sym = TM.getSymbol(GV, Mang); local 101 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); 691 MCSymbol *Sym = TM.getSymbol(GV, Mang); local 692 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); 717 MCSymbol *Sym = TM.getSymbol(GV, Mang); local 718 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); 823 MCSymbol *Sym local 881 MCSymbol *Sym = TM.getSymbol(ComdatGV, Mang); local [all...] |
/external/llvm/lib/LTO/ |
H A D | LTOModule.cpp | 273 void LTOModule::addDefinedDataSymbol(const object::BasicSymbolRef &Sym) { argument 277 Sym.printName(OS); 280 const GlobalValue *V = IRFile->getSymbolGV(Sym.getRawDataRefImpl()); 334 void LTOModule::addDefinedFunctionSymbol(const object::BasicSymbolRef &Sym) { argument 338 Sym.printName(OS); 342 cast<Function>(IRFile->getSymbolGV(Sym.getRawDataRefImpl())); 497 void LTOModule::addPotentialUndefinedSymbol(const object::BasicSymbolRef &Sym, argument 502 Sym.printName(OS); 516 const GlobalValue *decl = IRFile->getSymbolGV(Sym.getRawDataRefImpl()); 532 for (auto &Sym [all...] |