Searched defs:Sym (Results 26 - 50 of 105) sorted by relevance

12345

/external/clang/lib/StaticAnalyzer/Core/
H A DSVals.cpp129 const SymExpr* Sym = getAsSymbol(); local
130 if (!Sym)
131 Sym = getAsSymbolicExpression();
132 return Sym;
H A DSimpleConstraintManager.cpp99 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 DRangeConstraintManager.cpp317 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 DAArch64MachObjectWriter.cpp28 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 DNVPTXInstPrinter.cpp288 const MCSymbol &Sym = cast<MCSymbolRefExpr>(Expr)->getSymbol(); local
289 O << Sym.getName();
/external/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp158 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 DPPCMCInstLower.cpp66 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 DTargetLoweringObjectFile.cpp123 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 DStore.h218 SymbolRef Sym; member in class:clang::ento::StoreManager::FindUniqueBinding
224 : Sym(sym), Binding(nullptr), First(true) {}
/external/clang/lib/StaticAnalyzer/Checkers/
H A DSimpleStreamChecker.cpp173 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 DGenericTaintChecker.cpp353 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 DStreamChecker.cpp226 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 DDwarfAccelTable.h192 MCSymbol *Sym; member in struct:llvm::DwarfAccelTable::HashData
203 if (Sym)
204 Sym->print(O);
/external/llvm/lib/MC/MCAnalysis/
H A DMCObjectSymbolizer.cpp136 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 DMCExpr.cpp43 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 DMCContext.cpp103 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 DObject.cpp93 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 DXCoreAsmPrinter.cpp79 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 DCOFFDump.cpp161 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 Dcoff2yaml.cpp70 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 Dyaml2coff.cpp70 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 DMachineModuleInfo.h347 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 DObjectFile.h162 symbol_iterator(SymbolRef Sym) : basic_symbol_iterator(Sym) {} argument
/external/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp61 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 DLTOModule.cpp273 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...]

Completed in 7744 milliseconds

12345