Home
last modified time | relevance | path

Searched refs:Res (Results 1 – 25 of 178) sorted by relevance

12345678

/external/llvm/include/llvm/Object/
DMachO.h50 error_code getSectionFinalSegmentName(DataRefImpl Sec, StringRef &Res) const;
59 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const;
60 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const;
61 virtual error_code getSymbolFileOffset(DataRefImpl Symb, uint64_t &Res) const;
62 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const;
63 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const;
64 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const;
65 virtual error_code getSymbolFlags(DataRefImpl Symb, uint32_t &Res) const;
66 virtual error_code getSymbolType(DataRefImpl Symb, SymbolRef::Type &Res) const;
68 section_iterator &Res) const;
[all …]
DCOFF.h102 error_code getString(uint32_t offset, StringRef &Res) const;
109 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const;
110 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const;
111 virtual error_code getSymbolFileOffset(DataRefImpl Symb, uint64_t &Res) const;
112 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const;
113 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const;
114 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const;
115 virtual error_code getSymbolFlags(DataRefImpl Symb, uint32_t &Res) const;
116 virtual error_code getSymbolType(DataRefImpl Symb, SymbolRef::Type &Res) const;
118 section_iterator &Res) const;
[all …]
DMachOObject.h143 InMemoryStruct<macho::SegmentLoadCommand> &Res) const;
146 InMemoryStruct<macho::Segment64LoadCommand> &Res) const;
149 InMemoryStruct<macho::SymtabLoadCommand> &Res) const;
152 InMemoryStruct<macho::DysymtabLoadCommand> &Res) const;
155 InMemoryStruct<macho::LinkeditDataLoadCommand> &Res) const;
158 InMemoryStruct<macho::LinkerOptionsLoadCommand> &Res) const;
162 InMemoryStruct<macho::IndirectSymbolTableEntry> &Res) const;
166 InMemoryStruct<macho::Section> &Res) const;
170 InMemoryStruct<macho::Section64> &Res) const;
173 InMemoryStruct<macho::RelocationEntry> &Res) const;
[all …]
DObjectFile.h294 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const = 0;
295 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const = 0;
296 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const = 0;
297 virtual error_code getSymbolFileOffset(DataRefImpl Symb, uint64_t &Res)const=0;
298 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const = 0;
300 SymbolRef::Type &Res) const = 0;
301 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const = 0;
303 uint32_t &Res) const = 0;
305 section_iterator &Res) const = 0;
310 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) const = 0;
[all …]
DRelocVisitor.h160 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_X86_64_32() local
161 return RelocToApply(Res, 4); in visitELF_X86_64_32()
166 int32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_X86_64_32S() local
167 return RelocToApply(Res, 4); in visitELF_X86_64_32S()
174 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_PPC64_ADDR32() local
175 return RelocToApply(Res, 4); in visitELF_PPC64_ADDR32()
182 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_MIPS_32() local
183 return RelocToApply(Res, 4); in visitELF_MIPS_32()
190 int64_t Res = Value + Addend; in visitELF_AARCH64_ABS32() local
193 if (Res < INT32_MIN || Res > UINT32_MAX) in visitELF_AARCH64_ABS32()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp31 Value *Res = Builder.CreateSelect(Equal, Val, Orig); in LowerAtomicCmpXchgInst() local
32 Builder.CreateStore(Res, Ptr); in LowerAtomicCmpXchgInst()
45 Value *Res = NULL; in LowerAtomicRMWInst() local
50 Res = Val; in LowerAtomicRMWInst()
53 Res = Builder.CreateAdd(Orig, Val); in LowerAtomicRMWInst()
56 Res = Builder.CreateSub(Orig, Val); in LowerAtomicRMWInst()
59 Res = Builder.CreateAnd(Orig, Val); in LowerAtomicRMWInst()
62 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val)); in LowerAtomicRMWInst()
65 Res = Builder.CreateOr(Orig, Val); in LowerAtomicRMWInst()
68 Res = Builder.CreateXor(Orig, Val); in LowerAtomicRMWInst()
[all …]
/external/clang/lib/Driver/
DArgList.cpp68 Arg *Res = 0; in getLastArg() local
71 Res = *it; in getLastArg()
72 Res->claim(); in getLastArg()
76 return Res; in getLastArg()
80 Arg *Res = 0; in getLastArg() local
84 Res = *it; in getLastArg()
85 Res->claim(); in getLastArg()
89 return Res; in getLastArg()
94 Arg *Res = 0; in getLastArg() local
99 Res = *it; in getLastArg()
[all …]
DCompilation.cpp111 bool Res = llvm::StringSwitch<bool>(Flag) in skipArg() local
123 if (Res) in skipArg()
124 return Res; in skipArg()
130 Res = llvm::StringSwitch<bool>(Flag) in skipArg()
136 if (Res) in skipArg()
137 return Res; in skipArg()
293 int Res = in ExecuteCommand() local
299 assert(Res && "Error string set with 0 result code!"); in ExecuteCommand()
303 if (Res) in ExecuteCommand()
307 return Res; in ExecuteCommand()
[all …]
/external/llvm/lib/Option/
DArgList.cpp67 Arg *Res = 0; in getLastArg() local
70 Res = *it; in getLastArg()
71 Res->claim(); in getLastArg()
75 return Res; in getLastArg()
79 Arg *Res = 0; in getLastArg() local
83 Res = *it; in getLastArg()
84 Res->claim(); in getLastArg()
89 return Res; in getLastArg()
94 Arg *Res = 0; in getLastArg() local
99 Res = *it; in getLastArg()
[all …]
/external/llvm/lib/Object/
DMachOObject.cpp36 InMemoryStruct<T> &Res) { in ReadInMemoryStruct() argument
42 Res = 0; in ReadInMemoryStruct()
50 Res = Ptr; in ReadInMemoryStruct()
55 Res = *Ptr; in ReadInMemoryStruct()
56 SwapStruct(*Res); in ReadInMemoryStruct()
185 InMemoryStruct<macho::SegmentLoadCommand> &Res) const { in ReadSegmentLoadCommand()
186 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSegmentLoadCommand()
203 InMemoryStruct<macho::Segment64LoadCommand> &Res) const { in ReadSegment64LoadCommand()
204 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSegment64LoadCommand()
217 InMemoryStruct<macho::SymtabLoadCommand> &Res) const { in ReadSymtabLoadCommand()
[all …]
DCOFFObjectFile.cpp330 ArrayRef<uint8_t> Res; in getSectionContents() local
331 error_code EC = getSectionContents(sec, Res); in getSectionContents()
332 Result = StringRef(reinterpret_cast<const char*>(Res.data()), Res.size()); in getSectionContents()
337 uint64_t &Res) const { in getSectionAlignment()
341 Res = uint64_t(1) << (((sec->Characteristics & 0x00F00000) >> 20) - 1); in getSectionAlignment()
580 error_code COFFObjectFile::getHeader(const coff_file_header *&Res) const { in getHeader()
581 Res = Header; in getHeader()
621 StringRef &Res) const { in getSymbolName()
625 if (error_code ec = getString(Offset, Res)) in getSymbolName()
632 Res = StringRef(symbol->Name.ShortName); in getSymbolName()
[all …]
DMachOObjectFile.cpp82 InMemoryStruct<macho::SymbolTableEntry> &Res) const { in getSymbolTableEntry()
93 Res); in getSymbolTableEntry()
97 InMemoryStruct<macho::Symbol64TableEntry> &Res) const { in getSymbol64TableEntry()
108 Res); in getSymbol64TableEntry()
322 section_iterator &Res) const { in getSymbolSection()
335 Res = end_sections(); in getSymbolSection()
337 Res = section_iterator(SectionRef(Sections[index-1], this)); in getSymbolSection()
343 SymbolRef::Type &Res) const { in getSymbolType()
354 Res = SymbolRef::ST_Other; in getSymbolType()
358 Res = SymbolRef::ST_Debug; in getSymbolType()
[all …]
/external/llvm/tools/macho-dump/
Dmacho-dump.cpp95 int Res = 0; in DumpSectionData() local
101 Res = Error("unable to read relocation table entry '" + Twine(i) + "'"); in DumpSectionData()
124 return Res; in DumpSectionData()
140 int Res = 0; in DumpSegmentCommand() local
146 Res = Error("unable to read section '" + Twine(i) + "'"); in DumpSegmentCommand()
150 if ((Res = DumpSectionData(Obj, i, StringRef(Sect->Name, 16), in DumpSegmentCommand()
160 return Res; in DumpSegmentCommand()
176 int Res = 0; in DumpSegment64Command() local
182 Res = Error("unable to read section '" + Twine(i) + "'"); in DumpSegment64Command()
186 if ((Res = DumpSectionData(Obj, i, StringRef(Sect->Name, 16), in DumpSegment64Command()
[all …]
/external/clang/lib/Lex/
DPPExpressions.cpp533 llvm::APSInt Res(LHS.getBitWidth()); in EvaluateDirectiveSubExpr() local
543 Res.setIsUnsigned(LHS.isUnsigned()|RHS.isUnsigned()); in EvaluateDirectiveSubExpr()
546 if (ValueLive && Res.isUnsigned()) { in EvaluateDirectiveSubExpr()
558 LHS.Val.setIsUnsigned(Res.isUnsigned()); in EvaluateDirectiveSubExpr()
559 RHS.Val.setIsUnsigned(Res.isUnsigned()); in EvaluateDirectiveSubExpr()
567 Res = LHS.Val % RHS.Val; in EvaluateDirectiveSubExpr()
577 Res = llvm::APSInt(LHS.Val.sdiv_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
579 Res = LHS.Val / RHS.Val; in EvaluateDirectiveSubExpr()
588 if (Res.isSigned()) in EvaluateDirectiveSubExpr()
589 Res = llvm::APSInt(LHS.Val.smul_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
[all …]
/external/llvm/lib/MC/
DMCExpr.cpp297 bool MCExpr::EvaluateAsAbsolute(int64_t &Res) const { in EvaluateAsAbsolute()
298 return EvaluateAsAbsolute(Res, 0, 0, 0); in EvaluateAsAbsolute()
301 bool MCExpr::EvaluateAsAbsolute(int64_t &Res, in EvaluateAsAbsolute() argument
303 return EvaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, 0); in EvaluateAsAbsolute()
306 bool MCExpr::EvaluateAsAbsolute(int64_t &Res, in EvaluateAsAbsolute() argument
309 return EvaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs); in EvaluateAsAbsolute()
312 bool MCExpr::EvaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const { in EvaluateAsAbsolute() argument
313 return EvaluateAsAbsolute(Res, &Asm, 0, 0); in EvaluateAsAbsolute()
316 bool MCExpr::EvaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm, in EvaluateAsAbsolute() argument
323 Res = CE->getValue(); in EvaluateAsAbsolute()
[all …]
/external/llvm/lib/Support/
DDeltaAlgorithm.cpp28 void DeltaAlgorithm::Split(const changeset_ty &S, changesetlist_ty &Res) { in Split() argument
38 Res.push_back(LHS); in Split()
40 Res.push_back(RHS); in Split()
54 changeset_ty Res; in Delta() local
55 if (Search(Changes, Sets, Res)) in Delta()
56 return Res; in Delta()
71 changeset_ty &Res) { in Search() argument
79 Res = Delta(*it, Sets); in Search()
95 Res = Delta(Complement, ComplementSets); in Search()
DRegex.cpp109 std::string Res(String.begin(), Matches[0].begin()); in sub() local
117 Res += Split.first; in sub()
134 Res += Repl[0]; in sub()
140 Res += '\t'; in sub()
144 Res += '\n'; in sub()
158 Res += Matches[RefValue]; in sub()
167 Res += StringRef(Matches[0].end(), String.end() - Matches[0].end()); in sub()
169 return Res; in sub()
/external/clang/lib/Parse/
DParseExpr.cpp203 ExprResult Res(ParseRHSOfBinaryExpression(LHS, prec::Conditional)); in ParseConstantExpression() local
204 return Actions.ActOnConstantExpression(Res); in ParseConstantExpression()
416 ExprResult Res = ParseCastExpression(isUnaryExpression, in ParseCastExpression() local
422 return Res; in ParseCastExpression()
619 ExprResult Res; in ParseCastExpression() local
648 Res = ParseParenExpression(ParenExprType, false/*stopIfCastExr*/, in ParseCastExpression()
662 return Res; in ParseCastExpression()
673 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression()
690 assert(Res.get() == 0 && "Stray primary-expression annotation?"); in ParseCastExpression()
691 Res = getExprAnnotation(Tok); in ParseCastExpression()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp37 SDValue Res = SDValue(); in PromoteIntegerResult() local
50 case ISD::MERGE_VALUES:Res = PromoteIntRes_MERGE_VALUES(N, ResNo); break; in PromoteIntegerResult()
51 case ISD::AssertSext: Res = PromoteIntRes_AssertSext(N); break; in PromoteIntegerResult()
52 case ISD::AssertZext: Res = PromoteIntRes_AssertZext(N); break; in PromoteIntegerResult()
53 case ISD::BITCAST: Res = PromoteIntRes_BITCAST(N); break; in PromoteIntegerResult()
54 case ISD::BSWAP: Res = PromoteIntRes_BSWAP(N); break; in PromoteIntegerResult()
55 case ISD::BUILD_PAIR: Res = PromoteIntRes_BUILD_PAIR(N); break; in PromoteIntegerResult()
56 case ISD::Constant: Res = PromoteIntRes_Constant(N); break; in PromoteIntegerResult()
58 Res = PromoteIntRes_CONVERT_RNDSAT(N); break; in PromoteIntegerResult()
60 case ISD::CTLZ: Res = PromoteIntRes_CTLZ(N); break; in PromoteIntegerResult()
[all …]
/external/valgrind/main/none/tests/ppc64/
Dround.c531 dbl_overlay Res, Exp; in check_single_guarded_arithmetic_op() local
745 Res.dbl = fD; in check_single_guarded_arithmetic_op()
749 Res.dbl = fD; in check_single_guarded_arithmetic_op()
753 Res.dbl = fD; in check_single_guarded_arithmetic_op()
757 Res.dbl = fD; in check_single_guarded_arithmetic_op()
761 Res.dbl = fD; in check_single_guarded_arithmetic_op()
765 Res.dbl = fD; in check_single_guarded_arithmetic_op()
769 Res.dbl = fD; in check_single_guarded_arithmetic_op()
773 Res.dbl = fD; in check_single_guarded_arithmetic_op()
786 if ((Res.layout.sign != Exp.layout.sign) || in check_single_guarded_arithmetic_op()
[all …]
/external/valgrind/main/none/tests/ppc32/
Dround.c531 dbl_overlay Res, Exp; in check_single_guarded_arithmetic_op() local
745 Res.dbl = fD; in check_single_guarded_arithmetic_op()
749 Res.dbl = fD; in check_single_guarded_arithmetic_op()
753 Res.dbl = fD; in check_single_guarded_arithmetic_op()
757 Res.dbl = fD; in check_single_guarded_arithmetic_op()
761 Res.dbl = fD; in check_single_guarded_arithmetic_op()
765 Res.dbl = fD; in check_single_guarded_arithmetic_op()
769 Res.dbl = fD; in check_single_guarded_arithmetic_op()
773 Res.dbl = fD; in check_single_guarded_arithmetic_op()
786 if ((Res.layout.sign != Exp.layout.sign) || in check_single_guarded_arithmetic_op()
[all …]
/external/llvm/utils/TableGen/
DInstrInfoEmitter.cpp101 std::string Res; in GetOperandInfo() local
106 Res += getQualifiedName(OpR) + "RegClassID, "; in GetOperandInfo()
108 Res += utostr(OpR->getValueAsInt("RegClassKind")) + ", "; in GetOperandInfo()
111 Res += "-1, "; in GetOperandInfo()
114 Res += "0"; in GetOperandInfo()
118 Res += "|(1<<MCOI::LookupPtrRegClass)"; in GetOperandInfo()
123 Res += "|(1<<MCOI::Predicate)"; in GetOperandInfo()
128 Res += "|(1<<MCOI::OptionalDef)"; in GetOperandInfo()
131 Res += ", MCOI::"; in GetOperandInfo()
133 Res += Inst.Operands[i].OperandType; in GetOperandInfo()
[all …]
/external/valgrind/main/none/tests/amd64/
Dbug132918.c8 struct { double d; int i; } Res; typedef
10 static void do_fprem ( Res* res, double x, double y ) in do_fprem()
35 static void show ( char* s, Res* res ) in show()
42 Res r; in main()
/external/llvm/lib/Analysis/
DLibCallAliasAnalysis.cpp69 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc); in AnalyzeLibCallDetails() local
70 if (Res != LibCallLocationInfo::Yes) continue; in AnalyzeLibCallDetails()
90 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc); in AnalyzeLibCallDetails() local
91 if (Res == LibCallLocationInfo::No) continue; in AnalyzeLibCallDetails()
95 if (Res == LibCallLocationInfo::Unknown) { in AnalyzeLibCallDetails()
DMemDepPrinter.cpp107 MemDepResult Res = MDA.getDependency(Inst); in runOnFunction() local
108 if (!Res.isNonLocal()) { in runOnFunction()
109 Deps[Inst].insert(std::make_pair(getInstTypePair(Res), in runOnFunction()
118 const MemDepResult &Res = I->getResult(); in runOnFunction() local
119 InstDeps.insert(std::make_pair(getInstTypePair(Res), I->getBB())); in runOnFunction()
151 const MemDepResult &Res = I->getResult(); in runOnFunction() local
152 InstDeps.insert(std::make_pair(getInstTypePair(Res), I->getBB())); in runOnFunction()

12345678