Home
last modified time | relevance | path

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

12345678910>>...33

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp68 if (int Res = cmpNumbers(L.getBitWidth(), R.getBitWidth())) in cmpAPInts() local
69 return Res; in cmpAPInts()
79 if (int Res = cmpNumbers(APFloat::semanticsPrecision(SL), in cmpAPFloats() local
81 return Res; in cmpAPFloats()
82 if (int Res = cmpNumbers(APFloat::semanticsMaxExponent(SL), in cmpAPFloats() local
84 return Res; in cmpAPFloats()
85 if (int Res = cmpNumbers(APFloat::semanticsMinExponent(SL), in cmpAPFloats() local
87 return Res; in cmpAPFloats()
88 if (int Res = cmpNumbers(APFloat::semanticsSizeInBits(SL), in cmpAPFloats() local
90 return Res; in cmpAPFloats()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp152 MachineInstrBuilder MachineIRBuilderBase::buildFrameIndex(unsigned Res, in buildFrameIndex() argument
154 assert(getMRI()->getType(Res).isPointer() && "invalid operand type"); in buildFrameIndex()
156 .addDef(Res) in buildFrameIndex()
161 MachineIRBuilderBase::buildGlobalValue(unsigned Res, const GlobalValue *GV) { in buildGlobalValue() argument
162 assert(getMRI()->getType(Res).isPointer() && "invalid operand type"); in buildGlobalValue()
163 assert(getMRI()->getType(Res).getAddressSpace() == in buildGlobalValue()
168 .addDef(Res) in buildGlobalValue()
172 void MachineIRBuilderBase::validateBinaryOp(unsigned Res, unsigned Op0, in validateBinaryOp() argument
174 assert((getMRI()->getType(Res).isScalar() || in validateBinaryOp()
175 getMRI()->getType(Res).isVector()) && in validateBinaryOp()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h98 void validateBinaryOp(unsigned Res, unsigned Op0, unsigned Op1);
220 MachineInstrBuilder buildFrameIndex(unsigned Res, int Idx);
232 MachineInstrBuilder buildGlobalValue(unsigned Res, const GlobalValue *GV);
246 MachineInstrBuilder buildGEP(unsigned Res, unsigned Op0,
265 Optional<MachineInstrBuilder> materializeGEP(unsigned &Res, unsigned Op0,
282 MachineInstrBuilder buildPtrMask(unsigned Res, unsigned Op0,
299 MachineInstrBuilder buildUAdde(unsigned Res, unsigned CarryOut, unsigned Op0,
317 MachineInstrBuilder buildAnyExt(unsigned Res, unsigned Op);
319 MachineInstrBuilder buildAnyExt(DstType &&Res, ArgType &&Arg) { in buildAnyExt() argument
320 return buildAnyExt(getDestFromArg(Res), getRegFromArg(Arg)); in buildAnyExt()
[all …]
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp488 if (int Res = cmpNumbers(L.getBitWidth(), R.getBitWidth())) in cmpAPInts() local
489 return Res; in cmpAPInts()
499 if (int Res = cmpNumbers(APFloat::semanticsPrecision(SL), in cmpAPFloats() local
501 return Res; in cmpAPFloats()
502 if (int Res = cmpNumbers(APFloat::semanticsMaxExponent(SL), in cmpAPFloats() local
504 return Res; in cmpAPFloats()
505 if (int Res = cmpNumbers(APFloat::semanticsMinExponent(SL), in cmpAPFloats() local
507 return Res; in cmpAPFloats()
508 if (int Res = cmpNumbers(APFloat::semanticsSizeInBits(SL), in cmpAPFloats() local
510 return Res; in cmpAPFloats()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Object/
DMachO.h42 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const;
43 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const;
44 virtual error_code getSymbolOffset(DataRefImpl Symb, uint64_t &Res) const;
45 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const;
46 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const;
47 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const;
48 virtual error_code isSymbolInternal(DataRefImpl Symb, bool &Res) const;
49 virtual error_code isSymbolGlobal(DataRefImpl Symb, bool &Res) const;
50 virtual error_code getSymbolType(DataRefImpl Symb, SymbolRef::SymbolType &Res) const;
52 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) const;
[all …]
DCOFF.h85 const coff_section *&Res) const;
86 error_code getString(uint32_t offset, StringRef &Res) const;
88 const coff_symbol *&Res) const;
95 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const;
96 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const;
97 virtual error_code getSymbolOffset(DataRefImpl Symb, uint64_t &Res) const;
98 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const;
99 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const;
100 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const;
101 virtual error_code isSymbolInternal(DataRefImpl Symb, bool &Res) const;
[all …]
/external/clang/test/OpenMP/
Dthreadprivate_codegen.cpp316 int Res; in main() local
388 Res = Static::s.a; in main()
410 Res += sm.a; in main()
433 Res += gs1.a; in main()
446 Res += gs2.a; in main()
469 Res += gs3.a; in main()
498 Res += arr_x[1][1].a; in main()
518 Res += ST<int>::st; in main()
541 Res += static_cast<int>(ST<float>::st); in main()
564 Res += ST<S4>::st.a; in main()
[all …]
/external/llvm/lib/Target/Hexagon/
DBitTracker.cpp414 RegisterCell Res(W); in eIMM() local
417 Res[i] = BitValue(V & 1); in eIMM()
420 return Res; in eIMM()
428 RegisterCell Res(BW); in eIMM() local
430 Res[i] = A[i]; in eIMM()
431 return Res; in eIMM()
439 RegisterCell Res(W); in eADD() local
448 Res[I] = BitValue(S & 1); in eADD()
457 Res[I] = BitValue::ref(V2); in eADD()
459 Res[I] = BitValue::ref(V1); in eADD()
[all …]
/external/python/cpython2/Mac/Demo/resources/
Dlistres.py3 from Carbon import Res
7 ntypes = Res.Count1Types()
9 type = Res.Get1IndType(itype)
11 nresources = Res.Count1Resources(type)
13 Res.SetResLoad(0)
14 res = Res.Get1IndResource(type, i)
15 Res.SetResLoad(1)
19 ntypes = Res.CountTypes()
21 type = Res.GetIndType(itype)
23 nresources = Res.CountResources(type)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DModuleSymbolTable.cpp135 uint32_t Res = BasicSymbolRef::SF_Executable; in CollectAsmSymbols() local
140 Res |= BasicSymbolRef::SF_Global; in CollectAsmSymbols()
146 Res |= BasicSymbolRef::SF_Undefined; in CollectAsmSymbols()
147 Res |= BasicSymbolRef::SF_Global; in CollectAsmSymbols()
150 Res |= BasicSymbolRef::SF_Weak; in CollectAsmSymbols()
151 Res |= BasicSymbolRef::SF_Global; in CollectAsmSymbols()
154 Res |= BasicSymbolRef::SF_Weak; in CollectAsmSymbols()
155 Res |= BasicSymbolRef::SF_Undefined; in CollectAsmSymbols()
157 AsmSymbol(Key, BasicSymbolRef::Flags(Res)); in CollectAsmSymbols()
190 uint32_t Res = BasicSymbolRef::SF_None; in getSymbolFlags() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/
DResourceFileWriter.cpp423 Error ResourceFileWriter::handleError(Error Err, const RCResource *Res) { in handleError() argument
425 return joinErrors(createError("Error in " + Res->getResourceTypeName() + in handleError()
426 " statement (ID " + Twine(Res->ResName) + in handleError()
432 Error ResourceFileWriter::visitNullResource(const RCResource *Res) { in visitNullResource() argument
433 return writeResource(Res, &ResourceFileWriter::writeNullBody); in visitNullResource()
436 Error ResourceFileWriter::visitAcceleratorsResource(const RCResource *Res) { in visitAcceleratorsResource() argument
437 return writeResource(Res, &ResourceFileWriter::writeAcceleratorsBody); in visitAcceleratorsResource()
440 Error ResourceFileWriter::visitBitmapResource(const RCResource *Res) { in visitBitmapResource() argument
441 return writeResource(Res, &ResourceFileWriter::writeBitmapBody); in visitBitmapResource()
444 Error ResourceFileWriter::visitCursorResource(const RCResource *Res) { in visitCursorResource() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/
DX86Operand.h527 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken() local
528 Res->Tok.Data = Str.data(); in CreateToken()
529 Res->Tok.Length = Str.size(); in CreateToken()
530 return Res; in CreateToken()
537 auto Res = llvm::make_unique<X86Operand>(Register, StartLoc, EndLoc); member
538 Res->Reg.RegNo = RegNo;
539 Res->AddressOf = AddressOf;
540 Res->OffsetOfLoc = OffsetOfLoc;
541 Res->SymName = SymName;
542 Res->OpDecl = OpDecl;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp32 Value *Res = Builder.CreateSelect(Equal, Val, Orig); in LowerAtomicCmpXchgInst() local
33 Builder.CreateStore(Res, Ptr); in LowerAtomicCmpXchgInst()
35 Res = Builder.CreateInsertValue(UndefValue::get(CXI->getType()), Orig, 0); in LowerAtomicCmpXchgInst()
36 Res = Builder.CreateInsertValue(Res, Equal, 1); in LowerAtomicCmpXchgInst()
38 CXI->replaceAllUsesWith(Res); in LowerAtomicCmpXchgInst()
49 Value *Res = nullptr; in LowerAtomicRMWInst() local
54 Res = Val; in LowerAtomicRMWInst()
57 Res = Builder.CreateAdd(Orig, Val); in LowerAtomicRMWInst()
60 Res = Builder.CreateSub(Orig, Val); in LowerAtomicRMWInst()
63 Res = Builder.CreateAnd(Orig, Val); in LowerAtomicRMWInst()
[all …]
DScalarizer.cpp422 ValueVector Res; in splitBinary() local
423 Res.resize(NumElems); in splitBinary()
425 Res[Elem] = Split(Builder, Op0[Elem], Op1[Elem], in splitBinary()
427 gather(&I, Res); in splitBinary()
477 ValueVector Res(NumElems); in splitCall() local
494 Res[Elem] = Builder.CreateCall(NewIntrin, ScalarCallOps, in splitCall()
498 gather(&CI, Res); in splitCall()
513 ValueVector Res; in visitSelectInst() local
514 Res.resize(NumElems); in visitSelectInst()
520 Res[I] = Builder.CreateSelect(Op0[I], Op1[I], Op2[I], in visitSelectInst()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp33 Value *Res = Builder.CreateSelect(Equal, Val, Orig); in LowerAtomicCmpXchgInst() local
34 Builder.CreateStore(Res, Ptr); in LowerAtomicCmpXchgInst()
36 Res = Builder.CreateInsertValue(UndefValue::get(CXI->getType()), Orig, 0); in LowerAtomicCmpXchgInst()
37 Res = Builder.CreateInsertValue(Res, Equal, 1); in LowerAtomicCmpXchgInst()
39 CXI->replaceAllUsesWith(Res); in LowerAtomicCmpXchgInst()
50 Value *Res = nullptr; in LowerAtomicRMWInst() local
55 Res = Val; in LowerAtomicRMWInst()
58 Res = Builder.CreateAdd(Orig, Val); in LowerAtomicRMWInst()
61 Res = Builder.CreateSub(Orig, Val); in LowerAtomicRMWInst()
64 Res = Builder.CreateAnd(Orig, Val); in LowerAtomicRMWInst()
[all …]
DScalarizer.cpp388 ValueVector Res; in splitBinary() local
389 Res.resize(NumElems); in splitBinary()
391 Res[Elem] = Split(Builder, Op0[Elem], Op1[Elem], in splitBinary()
393 gather(&I, Res); in splitBinary()
408 ValueVector Res; in visitSelectInst() local
409 Res.resize(NumElems); in visitSelectInst()
415 Res[I] = Builder.CreateSelect(Op0[I], Op1[I], Op2[I], in visitSelectInst()
420 Res[I] = Builder.CreateSelect(Op0, Op1[I], Op2[I], in visitSelectInst()
423 gather(&SI, Res); in visitSelectInst()
455 ValueVector Res; in visitGetElementPtrInst() local
[all …]
/external/lzma/CPP/7zip/Common/
DCWrappers.cpp63 p->Res = p->Progress->SetRatioInfo(CONVERT_PR_VAL(inSize), CONVERT_PR_VAL(outSize)); in CompressProgress()
64 return HRESULT_To_SRes(p->Res, SZ_ERROR_PROGRESS); in CompressProgress()
71 Res = SZ_OK; in Init()
80 p->Res = (p->Stream->Read(data, curSize, &curSize)); in MyRead()
83 if (p->Res == S_OK) in MyRead()
85 return HRESULT_To_SRes(p->Res, SZ_ERROR_READ); in MyRead()
93 p->Res = WriteStream(p->Stream, data, size); in MyWrite()
94 if (p->Res != 0) in MyWrite()
98 p->Res = S_OK; in MyWrite()
109 Res = S_OK; in Init()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DBitTracker.cpp413 RegisterCell Res(W); in eIMM() local
416 Res[i] = BitValue(V & 1); in eIMM()
419 return Res; in eIMM()
426 RegisterCell Res(BW); in eIMM() local
428 Res[i] = A[i]; in eIMM()
429 return Res; in eIMM()
436 RegisterCell Res(W); in eADD() local
445 Res[I] = BitValue(S & 1); in eADD()
454 Res[I] = BitValue::ref(V2); in eADD()
456 Res[I] = BitValue::ref(V1); in eADD()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86Operand.h469 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken() local
470 Res->Tok.Data = Str.data(); in CreateToken()
471 Res->Tok.Length = Str.size(); in CreateToken()
472 return Res; in CreateToken()
479 auto Res = llvm::make_unique<X86Operand>(Register, StartLoc, EndLoc); member
480 Res->Reg.RegNo = RegNo;
481 Res->AddressOf = AddressOf;
482 Res->OffsetOfLoc = OffsetOfLoc;
483 Res->SymName = SymName;
484 Res->OpDecl = OpDecl;
[all …]
/external/llvm/include/llvm/Object/
DRelocVisitor.h294 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_X86_64_32() local
295 return RelocToApply(Res, 4); in visitELF_X86_64_32()
299 int32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_X86_64_32S() local
300 return RelocToApply(Res, 4); in visitELF_X86_64_32S()
306 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_PPC64_ADDR32() local
307 return RelocToApply(Res, 4); in visitELF_PPC64_ADDR32()
317 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_PPC_ADDR32() local
318 return RelocToApply(Res, 4); in visitELF_PPC_ADDR32()
324 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_Lanai_32() local
325 return RelocToApply(Res, 4); in visitELF_Lanai_32()
[all …]
/external/swiftshader/third_party/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/llvm/lib/Object/
DIRObjectFile.cpp102 uint32_t Res = BasicSymbolRef::SF_None; in CollectAsmUndefinedRefs() local
107 Res |= BasicSymbolRef::SF_Global; in CollectAsmUndefinedRefs()
113 Res |= BasicSymbolRef::SF_Undefined; in CollectAsmUndefinedRefs()
114 Res |= BasicSymbolRef::SF_Global; in CollectAsmUndefinedRefs()
117 Res |= BasicSymbolRef::SF_Weak; in CollectAsmUndefinedRefs()
118 Res |= BasicSymbolRef::SF_Global; in CollectAsmUndefinedRefs()
121 AsmUndefinedRefs(Key, BasicSymbolRef::Flags(Res)); in CollectAsmUndefinedRefs()
165 uintptr_t Res; in moveSymbolNext() local
171 Res = skipEmpty(Iter, *M); in moveSymbolNext()
177 Res = skipEmpty(Iter, *M); in moveSymbolNext()
[all …]
/external/swiftshader/third_party/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/python/cpython2/Lib/plat-mac/
Dmacresource.py6 from Carbon import Res
29 h = Res.GetResource(restype, resid)
30 except Res.Error:
36 h = Res.GetNamedResource(restype, resid)
37 except Res.Error:
72 h = Res.GetResource(restype, resid)
74 h = Res.GetNamedResource(restype, resid)
84 refno = Res.FSOpenResourceFile(pathname, u'', 1)
85 except Res.Error, arg:
93 refno = Res.FSOpenResourceFile(pathname, u'', 1)
[all …]
/external/llvm/lib/Option/
DArgList.cpp85 Arg *Res = nullptr; in getLastArg() local
88 Res = *it; in getLastArg()
89 Res->claim(); in getLastArg()
93 return Res; in getLastArg()
97 Arg *Res = nullptr; in getLastArg() local
101 Res = *it; in getLastArg()
102 Res->claim(); in getLastArg()
107 return Res; in getLastArg()
112 Arg *Res = nullptr; in getLastArg() local
117 Res = *it; in getLastArg()
[all …]

12345678910>>...33