Searched refs:Res (Results 1 - 25 of 108) sorted by relevance

12345

/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Object/
H A 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) cons
[all...]
H A DMachO.h55 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const;
56 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const;
57 virtual error_code getSymbolFileOffset(DataRefImpl Symb, uint64_t &Res) const;
58 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const;
59 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const;
60 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const;
61 virtual error_code getSymbolFlags(DataRefImpl Symb, uint32_t &Res) const;
62 virtual error_code getSymbolType(DataRefImpl Symb, SymbolRef::Type &Res) const;
64 section_iterator &Res) const;
66 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) cons
[all...]
H A 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;
159 InMemoryStruct<macho::IndirectSymbolTableEntry> &Res) const;
163 InMemoryStruct<macho::Section> &Res) const;
167 InMemoryStruct<macho::Section64> &Res) const;
170 InMemoryStruct<macho::RelocationEntry> &Res) const;
173 InMemoryStruct<macho::SymbolTableEntry> &Res) cons
[all...]
H A DObjectFile.h290 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const = 0;
291 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const = 0;
292 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const =0;
293 virtual error_code getSymbolFileOffset(DataRefImpl Symb, uint64_t &Res) const =0;
294 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const = 0;
296 SymbolRef::Type &Res) const = 0;
297 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const = 0;
299 uint32_t &Res) const = 0;
301 section_iterator &Res) const = 0;
305 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) cons
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Scalar/
H A DLowerAtomic.cpp31 Value *Res = Builder.CreateSelect(Equal, Val, Orig); local
32 Builder.CreateStore(Res, Ptr);
45 Value *Res = NULL; local
50 Res = Val;
53 Res = Builder.CreateAdd(Orig, Val);
56 Res = Builder.CreateSub(Orig, Val);
59 Res = Builder.CreateAnd(Orig, Val);
62 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val));
65 Res = Builder.CreateOr(Orig, Val);
68 Res
[all...]
H A DEarlyCSE.cpp95 unsigned Res = 0; local
97 Res ^= getHash(Inst->getOperand(i)) << (i & 0xF);
100 Res ^= getHash(CI->getType());
102 Res ^= CI->getPredicate();
106 Res ^= *I;
110 Res ^= *I;
121 return (Res << 1) ^ Inst->getOpcode();
186 unsigned Res = 0; local
190 Res ^= getHash(Inst->getOperand(i)) << (i & 0xF);
194 return (Res <<
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Support/
H A DDeltaAlgorithm.cpp28 void DeltaAlgorithm::Split(const changeset_ty &S, changesetlist_ty &Res) { argument
38 Res.push_back(LHS);
40 Res.push_back(RHS);
46 // Invariant: union(Res) == Changes
54 changeset_ty Res;
55 if (Search(Changes, Sets, Res))
56 return Res;
71 changeset_ty &Res) {
79 Res = Delta(*it, Sets);
95 Res
69 Search(const changeset_ty &Changes, const changesetlist_ty &Sets, changeset_ty &Res) argument
[all...]
H A DRegex.cpp107 std::string Res(String.begin(), Matches[0].begin());
115 Res += Split.first;
132 Res += Repl[0];
138 Res += '\t';
142 Res += '\n';
156 Res += Matches[RefValue];
165 Res += StringRef(Matches[0].end(), String.end() - Matches[0].end());
167 return Res;
/macosx-10.9.5/llvmCore-3425.0.33/lib/MC/MCParser/
H A DMCAsmParser.cpp41 bool MCAsmParser::ParseExpression(const MCExpr *&Res) { argument
43 return ParseExpression(Res, L);
/macosx-10.9.5/llvmCore-3425.0.33/lib/Object/
H A DMachOObject.cpp36 InMemoryStruct<T> &Res) {
42 Res = 0;
49 Res = Ptr;
54 Res = *Ptr;
55 SwapStruct(*Res);
184 InMemoryStruct<macho::SegmentLoadCommand> &Res) const {
185 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res);
202 InMemoryStruct<macho::Segment64LoadCommand> &Res) const {
203 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res);
216 InMemoryStruct<macho::SymtabLoadCommand> &Res) cons
34 ReadInMemoryStruct(const MachOObject &MOO, StringRef Buffer, uint64_t Base, InMemoryStruct<T> &Res) argument
[all...]
H A DCOFFObjectFile.cpp323 ArrayRef<uint8_t> Res; local
324 error_code EC = getSectionContents(sec, Res);
325 Result = StringRef(reinterpret_cast<const char*>(Res.data()), Res.size());
330 uint64_t &Res) const {
334 Res = uint64_t(1) << (((sec->Characteristics & 0x00F00000) >> 20) - 1);
566 error_code COFFObjectFile::getHeader(const coff_file_header *&Res) const {
567 Res = Header;
607 StringRef &Res) const {
611 if (error_code ec = getString(Offset, Res))
[all...]
H A DMachOObjectFile.cpp83 InMemoryStruct<macho::SymbolTableEntry> &Res) const {
94 Res);
98 InMemoryStruct<macho::Symbol64TableEntry> &Res) const {
109 Res);
323 section_iterator &Res) const {
336 Res = end_sections();
338 Res = section_iterator(SectionRef(Sections[index-1], this));
344 SymbolRef::Type &Res) const {
355 Res = SymbolRef::ST_Other;
359 Res
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/tools/macho-dump/
H A Dmacho-dump.cpp95 int Res = 0; local
101 Res = Error("unable to read relocation table entry '" + Twine(i) + "'");
124 return Res;
140 int Res = 0; local
146 Res = Error("unable to read section '" + Twine(i) + "'");
150 if ((Res = DumpSectionData(Obj, i, StringRef(Sect->Name, 16),
160 return Res;
176 int Res = 0; local
182 Res = Error("unable to read section '" + Twine(i) + "'");
186 if ((Res
235 int Res = 0; local
294 int Res = 0; local
367 int Res = 0; local
424 int Res = 0; local
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/
H A DLibCallAliasAnalysis.cpp69 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc); local
70 if (Res != LibCallLocationInfo::Yes) continue;
90 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc); local
91 if (Res == LibCallLocationInfo::No) continue;
95 if (Res == LibCallLocationInfo::Unknown) {
H A DMemDepPrinter.cpp107 MemDepResult Res = MDA.getDependency(Inst); local
108 if (!Res.isNonLocal()) {
109 Deps[Inst].insert(std::make_pair(getInstTypePair(Res),
118 const MemDepResult &Res = I->getResult(); local
119 InstDeps.insert(std::make_pair(getInstTypePair(Res), I->getBB()));
151 const MemDepResult &Res = I->getResult(); local
152 InstDeps.insert(std::make_pair(getInstTypePair(Res), I->getBB()));
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/ADT/
H A DDeltaAlgorithm.h56 void Split(const changeset_ty &S, changesetlist_ty &Res);
66 /// \param Res - On success, a subset of Changes which satisfies the
70 changeset_ty &Res);
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/X86/
H A DX86TargetObjectFile.cpp33 const MCExpr *Res = local
36 return MCBinaryExpr::CreateAdd(Res, Four, getContext());
/macosx-10.9.5/llvmCore-3425.0.33/lib/MC/
H A DMCExpr.cpp274 bool MCExpr::EvaluateAsAbsolute(int64_t &Res) const {
275 return EvaluateAsAbsolute(Res, 0, 0, 0);
278 bool MCExpr::EvaluateAsAbsolute(int64_t &Res, argument
280 return EvaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, 0);
283 bool MCExpr::EvaluateAsAbsolute(int64_t &Res, argument
286 return EvaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs);
289 bool MCExpr::EvaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const { argument
290 return EvaluateAsAbsolute(Res, &Asm, 0, 0);
293 bool MCExpr::EvaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm, argument
300 Res
397 EvaluateSymbolicAdd(const MCAssembler *Asm, const MCAsmLayout *Layout, const SectionAddrMap *Addrs, bool InSet, const MCValue &LHS,const MCSymbolRefExpr *RHS_A, const MCSymbolRefExpr *RHS_B, int64_t RHS_Cst, MCValue &Res) argument
456 EvaluateAsRelocatable(MCValue &Res, const MCAsmLayout &Layout) const argument
462 EvaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, const MCAsmLayout *Layout, const SectionAddrMap *Addrs, bool InSet) const argument
[all...]
H A DMCObjectStreamer.cpp214 int64_t Res; local
215 if (AddrDelta->EvaluateAsAbsolute(Res, getAssembler())) {
216 MCDwarfLineAddr::Emit(this, LineDelta, Res);
226 int64_t Res; local
227 if (AddrDelta->EvaluateAsAbsolute(Res, getAssembler())) {
228 MCDwarfFrameEmitter::EmitAdvanceLoc(*this, Res);
237 int64_t Res; local
238 if (Offset->EvaluateAsAbsolute(Res, getAssembler())) {
251 if (!Delta->EvaluateAsAbsolute(Res, getAssembler()))
253 EmitFill(Res, Valu
[all...]
H A DMCAsmInfo.cpp135 const MCExpr *Res = MCSymbolRefExpr::Create(Sym, Context); local
139 return MCBinaryExpr::CreateSub(Res, PC, Context);
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/MC/MCParser/
H A DMCAsmParser.h127 /// and set \p Res to the identifier contents.
128 virtual bool ParseIdentifier(StringRef &Res) = 0;
141 /// @param Res - The value of the expression. The result is undefined
144 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
145 bool ParseExpression(const MCExpr *&Res);
150 /// @param Res - The value of the expression. The result is undefined
153 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
158 /// @param Res - The value of the absolute expression. The result is undefined
161 virtual bool ParseAbsoluteExpression(int64_t &Res) = 0;
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/MBlaze/MCTargetDesc/
H A DMBlazeAsmBackend.cpp60 void relaxInstruction(const MCInst &Inst, MCInst &Res) const;
101 void MBlazeAsmBackend::relaxInstruction(const MCInst &Inst, MCInst &Res) const {
102 Res = Inst;
103 Res.setOpcode(getRelaxedOpcode(Inst.getOpcode()));
/macosx-10.9.5/llvmCore-3425.0.33/utils/TableGen/
H A DInstrInfoEmitter.cpp99 std::string Res; local
104 Res += getQualifiedName(OpR) + "RegClassID, ";
106 Res += utostr(OpR->getValueAsInt("RegClassKind")) + ", ";
109 Res += "-1, ";
112 Res += "0";
116 Res += "|(1<<MCOI::LookupPtrRegClass)";
121 Res += "|(1<<MCOI::Predicate)";
126 Res += "|(1<<MCOI::OptionalDef)";
129 Res += ", MCOI::";
131 Res
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp37 SDValue Res = SDValue(); local
50 case ISD::MERGE_VALUES:Res = PromoteIntRes_MERGE_VALUES(N, ResNo); break;
51 case ISD::AssertSext: Res = PromoteIntRes_AssertSext(N); break;
52 case ISD::AssertZext: Res = PromoteIntRes_AssertZext(N); break;
53 case ISD::BITCAST: Res = PromoteIntRes_BITCAST(N); break;
54 case ISD::BSWAP: Res = PromoteIntRes_BSWAP(N); break;
55 case ISD::BUILD_PAIR: Res = PromoteIntRes_BUILD_PAIR(N); break;
56 case ISD::Constant: Res = PromoteIntRes_Constant(N); break;
58 Res = PromoteIntRes_CONVERT_RNDSAT(N); break;
60 case ISD::CTLZ: Res
144 SetPromotedInteger(SDValue(N, ResNo), Res); local
169 SDValue Res = DAG.getAtomic(N->getOpcode(), N->getDebugLoc(), local
182 SDValue Res = DAG.getAtomic(N->getOpcode(), N->getDebugLoc(), local
196 SDValue Res = DAG.getAtomic(N->getOpcode(), N->getDebugLoc(), local
365 SDValue Res = DAG.getNode(NewOpc, dl, NVT, N->getOperand(0)); local
379 SDValue Res = DAG.getNode(N->getOpcode(), dl, NVT, N->getOperand(0)); local
391 SDValue Res = GetPromotedInteger(N->getOperand(0)); local
419 SDValue Res = DAG.getExtLoad(ExtType, dl, NVT, N->getChain(), N->getBasePtr(), local
436 SDValue Res = DAG.getNode(N->getOpcode(), N->getDebugLoc(), local
441 ReplaceValueWith(SDValue(N, 0), Res); local
460 SDValue Res = DAG.getNode(Opcode, dl, NVT, LHS, RHS); local
557 SDValue Res = SExtPromotedInteger(N->getOperand(0)); local
566 SDValue Res = ZExtPromotedInteger(N->getOperand(0)); local
572 SDValue Res; local
623 SDValue Res = DAG.getNode(Opcode, dl, NVT, LHS, RHS); local
723 SDValue Res = DAG.getNode(ISD::ZERO_EXTEND, dl, NVT, Parts[0]); local
750 SDValue Res = SDValue(); local
812 ReplaceValueWith(SDValue(N, 0), Res); local
1629 SDValue Res = DisintegrateMERGE_VALUES(N, ResNo); local
1648 SDValue Res = GetPromotedInteger(Op); local
2167 SDValue Res = GetPromotedInteger(Op); local
2402 SDValue Res = GetPromotedInteger(Op); local
2440 SDValue Res = SDValue(); local
2488 ReplaceValueWith(SDValue(N, 0), Res); local
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/tools/llvm-mc/
H A Dllvm-mc.cpp320 int Res = Parser->Run(NoInitialTextSection); local
322 return Res;
431 int Res = 1; local
434 Res = AsLexInput(SrcMgr, *MAI, Out.get());
437 Res = AssembleInput(ProgName, TheTarget, SrcMgr, Ctx, *Str, *MAI, *STI);
440 Res = Disassembler::disassemble(*TheTarget, TripleName, *STI, *Str,
444 Res = Disassembler::disassembleEnhanced(TripleName, *Buffer, SrcMgr, Out->os());
449 if (Res == 0) Out->keep();
450 return Res;

Completed in 148 milliseconds

12345