Home
last modified time | relevance | path

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

1234567891011

/external/valgrind/none/tests/amd64/
Dx87trigOOR.c15 typedef struct { Double arg; Double st0; Double st1; UShort fpusw; } Res; typedef
25 void do_fsin ( /*OUT*/Res* r, double d ) in do_fsin()
27 assert(my_offsetof(Res,arg) == 0); in do_fsin()
28 assert(my_offsetof(Res,st0) == 8); in do_fsin()
29 assert(my_offsetof(Res,st1) == 16); in do_fsin()
30 assert(my_offsetof(Res,fpusw) == 24); in do_fsin()
47 void do_fcos ( /*OUT*/Res* r, double d ) in do_fcos()
49 assert(my_offsetof(Res,arg) == 0); in do_fcos()
50 assert(my_offsetof(Res,st0) == 8); in do_fcos()
51 assert(my_offsetof(Res,st1) == 16); in do_fcos()
[all …]
/external/valgrind/none/tests/x86/
Dx87trigOOR.c15 typedef struct { Double arg; Double st0; Double st1; UShort fpusw; } Res; typedef
25 void do_fsin ( /*OUT*/Res* r, double d ) in do_fsin()
27 assert(my_offsetof(Res,arg) == 0); in do_fsin()
28 assert(my_offsetof(Res,st0) == 8); in do_fsin()
29 assert(my_offsetof(Res,st1) == 16); in do_fsin()
30 assert(my_offsetof(Res,fpusw) == 24); in do_fsin()
47 void do_fcos ( /*OUT*/Res* r, double d ) in do_fcos()
49 assert(my_offsetof(Res,arg) == 0); in do_fcos()
50 assert(my_offsetof(Res,st0) == 8); in do_fcos()
51 assert(my_offsetof(Res,st1) == 16); in do_fcos()
[all …]
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp411 if (int Res = cmpNumbers(L.getBitWidth(), R.getBitWidth())) in cmpAPInts() local
412 return Res; in cmpAPInts()
419 if (int Res = cmpNumbers((uint64_t)&L.getSemantics(), in cmpAPFloats() local
421 return Res; in cmpAPFloats()
427 if (int Res = cmpNumbers(L.size(), R.size())) in cmpStrings() local
428 return Res; in cmpStrings()
437 if (int Res = cmpNumbers(L.getNumSlots(), R.getNumSlots())) in cmpAttrs() local
438 return Res; in cmpAttrs()
508 if (int Res = cmpNumbers(AddrSpaceL, AddrSpaceR)) in cmpConstants() local
509 return Res; in cmpConstants()
[all …]
/external/clang/test/OpenMP/
Dthreadprivate_codegen.cpp286 int Res; in main() local
342 Res = Static::s.a; in main()
359 Res += sm.a; in main()
376 Res += gs1.a; in main()
385 Res += gs2.a; in main()
402 Res += gs3.a; in main()
423 Res += arr_x[1][1].a; in main()
438 Res += ST<int>::st; in main()
455 Res += static_cast<int>(ST<float>::st); in main()
472 Res += ST<S4>::st.a; in main()
[all …]
/external/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.cpp379 ValueVector Res; in splitBinary() local
380 Res.resize(NumElems); in splitBinary()
382 Res[Elem] = Split(Builder, Op0[Elem], Op1[Elem], in splitBinary()
384 gather(&I, Res); in splitBinary()
399 ValueVector Res; in visitSelectInst() local
400 Res.resize(NumElems); in visitSelectInst()
406 Res[I] = Builder.CreateSelect(Op0[I], Op1[I], Op2[I], in visitSelectInst()
411 Res[I] = Builder.CreateSelect(Op0, Op1[I], Op2[I], in visitSelectInst()
414 gather(&SI, Res); in visitSelectInst()
446 ValueVector Res; in visitGetElementPtrInst() local
[all …]
/external/lzma/CPP/7zip/Common/
DCWrappers.cpp18 p->Res = p->Progress->SetRatioInfo(CONVERT_PR_VAL(inSize), CONVERT_PR_VAL(outSize)); in CompressProgress()
19 return (SRes)p->Res; in CompressProgress()
26 Res = SZ_OK; in CCompressProgressWrap()
48 p->Res = (p->Stream->Read(data, curSize, &curSize)); in MyRead()
50 if (p->Res == S_OK) in MyRead()
52 return HRESULT_To_SRes(p->Res, SZ_ERROR_READ); in MyRead()
60 p->Res = WriteStream(p->Stream, data, size); in MyWrite()
61 if (p->Res != 0) in MyWrite()
65 p->Res = S_OK; in MyWrite()
80 Res = SZ_OK; in CSeqOutStreamWrap()
[all …]
DCWrappers.h13 HRESULT Res; member
21 HRESULT Res; member
29 HRESULT Res; member
37 HRESULT Res; member
54 HRESULT Res; member
65 Res = S_OK; in Init()
86 HRESULT Res; member
97 Res = S_OK; in Init()
/external/fonttools/Lib/fontTools/ttLib/
DmacUtils.py10 from Carbon import Res
12 import Res
19 resref = Res.FSOpenResFile(path, mode)
20 except Res.Error:
22 resref = Res.FSOpenResourceFile(path, unicode(), mode)
30 except Res.Error:
32 Res.UseResFile(resref)
33 numSFNTs = Res.Count1Resources('sfnt')
34 Res.CloseResFile(resref)
63 Res.UseResFile(resref)
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86Operand.h449 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken() local
450 Res->Tok.Data = Str.data(); in CreateToken()
451 Res->Tok.Length = Str.size(); in CreateToken()
452 return Res; in CreateToken()
459 auto Res = llvm::make_unique<X86Operand>(Register, StartLoc, EndLoc); member
460 Res->Reg.RegNo = RegNo;
461 Res->AddressOf = AddressOf;
462 Res->OffsetOfLoc = OffsetOfLoc;
463 Res->SymName = SymName;
464 Res->OpDecl = OpDecl;
[all …]
/external/llvm/lib/Option/
DArgList.cpp87 Arg *Res = nullptr; in getLastArg() local
90 Res = *it; in getLastArg()
91 Res->claim(); in getLastArg()
95 return Res; in getLastArg()
99 Arg *Res = nullptr; in getLastArg() local
103 Res = *it; in getLastArg()
104 Res->claim(); in getLastArg()
109 return Res; in getLastArg()
114 Arg *Res = nullptr; in getLastArg() local
119 Res = *it; in getLastArg()
[all …]
/external/clang/lib/Lex/
DPPExpressions.cpp543 llvm::APSInt Res(LHS.getBitWidth()); in EvaluateDirectiveSubExpr() local
553 Res.setIsUnsigned(LHS.isUnsigned()|RHS.isUnsigned()); in EvaluateDirectiveSubExpr()
556 if (ValueLive && Res.isUnsigned()) { in EvaluateDirectiveSubExpr()
568 LHS.Val.setIsUnsigned(Res.isUnsigned()); in EvaluateDirectiveSubExpr()
569 RHS.Val.setIsUnsigned(Res.isUnsigned()); in EvaluateDirectiveSubExpr()
577 Res = LHS.Val % RHS.Val; in EvaluateDirectiveSubExpr()
587 Res = llvm::APSInt(LHS.Val.sdiv_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
589 Res = LHS.Val / RHS.Val; in EvaluateDirectiveSubExpr()
598 if (Res.isSigned()) in EvaluateDirectiveSubExpr()
599 Res = llvm::APSInt(LHS.Val.smul_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
[all …]
/external/llvm/include/llvm/Object/
DRelocVisitor.h292 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_X86_64_32() local
293 return RelocToApply(Res, 4); in visitELF_X86_64_32()
297 int32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_X86_64_32S() local
298 return RelocToApply(Res, 4); in visitELF_X86_64_32S()
305 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_PPC64_ADDR32() local
306 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()
325 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_MIPS_32() local
326 return RelocToApply(Res, 4); in visitELF_MIPS_32()
[all …]
/external/llvm/lib/Object/
DIRObjectFile.cpp95 uint32_t Res = BasicSymbolRef::SF_None; in IRObjectFile() local
100 Res |= BasicSymbolRef::SF_Global; in IRObjectFile()
106 Res |= BasicSymbolRef::SF_Undefined; in IRObjectFile()
107 Res |= BasicSymbolRef::SF_Global; in IRObjectFile()
111 std::make_pair<std::string, uint32_t>(Key, std::move(Res))); in IRObjectFile()
155 uintptr_t Res; in moveSymbolNext() local
161 Res = skipEmpty(Iter, *M); in moveSymbolNext()
167 Res = skipEmpty(Iter, *M); in moveSymbolNext()
173 Res = skipEmpty(Iter, *M); in moveSymbolNext()
180 Res = (Index << 2) | 3; in moveSymbolNext()
[all …]
/external/llvm/lib/MC/
DMCExpr.cpp390 bool MCExpr::EvaluateAsAbsolute(int64_t &Res) const { in EvaluateAsAbsolute()
391 return EvaluateAsAbsolute(Res, nullptr, nullptr, nullptr); in EvaluateAsAbsolute()
394 bool MCExpr::EvaluateAsAbsolute(int64_t &Res, in EvaluateAsAbsolute() argument
396 return EvaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr); in EvaluateAsAbsolute()
399 bool MCExpr::EvaluateAsAbsolute(int64_t &Res, in EvaluateAsAbsolute() argument
402 return EvaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs); in EvaluateAsAbsolute()
405 bool MCExpr::EvaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const { in EvaluateAsAbsolute() argument
406 return EvaluateAsAbsolute(Res, &Asm, nullptr, nullptr); in EvaluateAsAbsolute()
409 bool MCExpr::evaluateKnownAbsolute(int64_t &Res, in evaluateKnownAbsolute() argument
411 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr, in evaluateKnownAbsolute()
[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.cpp111 std::string Res(String.begin(), Matches[0].begin()); in sub() local
119 Res += Split.first; in sub()
136 Res += Repl[0]; in sub()
142 Res += '\t'; in sub()
146 Res += '\n'; in sub()
160 Res += Matches[RefValue]; in sub()
169 Res += StringRef(Matches[0].end(), String.end() - Matches[0].end()); in sub()
171 return Res; in sub()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp39 SDValue Res = SDValue(); in PromoteIntegerResult() local
52 case ISD::MERGE_VALUES:Res = PromoteIntRes_MERGE_VALUES(N, ResNo); break; in PromoteIntegerResult()
53 case ISD::AssertSext: Res = PromoteIntRes_AssertSext(N); break; in PromoteIntegerResult()
54 case ISD::AssertZext: Res = PromoteIntRes_AssertZext(N); break; in PromoteIntegerResult()
55 case ISD::BITCAST: Res = PromoteIntRes_BITCAST(N); break; in PromoteIntegerResult()
56 case ISD::BSWAP: Res = PromoteIntRes_BSWAP(N); break; in PromoteIntegerResult()
57 case ISD::BUILD_PAIR: Res = PromoteIntRes_BUILD_PAIR(N); break; in PromoteIntegerResult()
58 case ISD::Constant: Res = PromoteIntRes_Constant(N); break; in PromoteIntegerResult()
60 Res = PromoteIntRes_CONVERT_RNDSAT(N); break; in PromoteIntegerResult()
62 case ISD::CTLZ: Res = PromoteIntRes_CTLZ(N); break; in PromoteIntegerResult()
[all …]
/external/llvm/unittests/Support/
DMD5Test.cpp28 SmallString<32> Res; in TestMD5Sum() local
29 MD5::stringifyResult(MD5Res, Res); in TestMD5Sum()
30 EXPECT_EQ(Res, Final); in TestMD5Sum()
38 SmallString<32> Res; in TestMD5Sum() local
39 MD5::stringifyResult(MD5Res, Res); in TestMD5Sum()
40 EXPECT_EQ(Res, Final); in TestMD5Sum()
/external/llvm/lib/Fuzzer/
DFuzzerLoop.cpp127 size_t Res = 0; in RunOne() local
129 Res = RunOneMaximizeFullCoverageSet(U); in RunOne()
131 Res = RunOneMaximizeCoveragePairs(U); in RunOne()
133 Res = RunOneMaximizeTotalCoverage(U); in RunOne()
143 return Res; in RunOne()
147 uintptr_t Res = 0; in HashOfArrayOfPCs() local
149 Res = (Res + PCs[i]) * 7; in HashOfArrayOfPCs()
151 return Res; in HashOfArrayOfPCs()
155 Unit Res; in SubstituteTokens() local
159 Res.insert(Res.end(), Token.begin(), Token.end()); in SubstituteTokens()
[all …]
/external/clang/lib/Parse/
DParseExpr.cpp204 ExprResult Res(ParseRHSOfBinaryExpression(LHS, prec::Conditional)); in ParseConstantExpression() local
205 return Actions.ActOnConstantExpression(Res); in ParseConstantExpression()
437 ExprResult Res = ParseCastExpression(isUnaryExpression, in ParseCastExpression() local
443 return Res; in ParseCastExpression()
657 ExprResult Res; in ParseCastExpression() local
681 Res = ParseParenExpression(ParenExprType, false/*stopIfCastExr*/, in ParseCastExpression()
694 return Res; in ParseCastExpression()
705 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression()
722 assert(Res.get() == nullptr && "Stray primary-expression annotation?"); in ParseCastExpression()
723 Res = getExprAnnotation(Tok); in ParseCastExpression()
[all …]
/external/llvm/test/CodeGen/X86/
Dmisched-matmul.ll194 %Res.i.sroa.1.8.idx2 = getelementptr inbounds double, double* %Out, i64 1
195 store double %add44.i, double* %Res.i.sroa.1.8.idx2, align 8
196 %Res.i.sroa.2.16.idx4 = getelementptr inbounds double, double* %Out, i64 2
197 store double %add68.i, double* %Res.i.sroa.2.16.idx4, align 8
198 %Res.i.sroa.3.24.idx6 = getelementptr inbounds double, double* %Out, i64 3
199 store double %add92.i, double* %Res.i.sroa.3.24.idx6, align 8
200 %Res.i.sroa.4.32.idx8 = getelementptr inbounds double, double* %Out, i64 4
201 store double %add116.i, double* %Res.i.sroa.4.32.idx8, align 8
202 %Res.i.sroa.5.40.idx10 = getelementptr inbounds double, double* %Out, i64 5
203 store double %add140.i, double* %Res.i.sroa.5.40.idx10, align 8
[all …]
/external/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp40 size_t Res = 0; in VarAndRedzoneSize() local
41 if (Size <= 4) Res = 16; in VarAndRedzoneSize()
42 else if (Size <= 16) Res = 32; in VarAndRedzoneSize()
43 else if (Size <= 128) Res = Size + 32; in VarAndRedzoneSize()
44 else if (Size <= 512) Res = Size + 64; in VarAndRedzoneSize()
45 else if (Size <= 4096) Res = Size + 128; in VarAndRedzoneSize()
46 else Res = Size + 256; in VarAndRedzoneSize()
47 return RoundUpToAlignment(Res, Alignment); in VarAndRedzoneSize()
/external/valgrind/none/tests/ppc64/
Dround.c544 dbl_overlay Res, Exp; in check_single_guarded_arithmetic_op() local
758 Res.dbl = fD; in check_single_guarded_arithmetic_op()
762 Res.dbl = fD; in check_single_guarded_arithmetic_op()
766 Res.dbl = fD; in check_single_guarded_arithmetic_op()
770 Res.dbl = fD; in check_single_guarded_arithmetic_op()
774 Res.dbl = fD; in check_single_guarded_arithmetic_op()
778 Res.dbl = fD; in check_single_guarded_arithmetic_op()
782 Res.dbl = fD; in check_single_guarded_arithmetic_op()
786 Res.dbl = fD; in check_single_guarded_arithmetic_op()
799 if ((Res.layout.sign != Exp.layout.sign) || in check_single_guarded_arithmetic_op()
[all …]
/external/valgrind/none/tests/ppc32/
Dround.c544 dbl_overlay Res, Exp; in check_single_guarded_arithmetic_op() local
758 Res.dbl = fD; in check_single_guarded_arithmetic_op()
762 Res.dbl = fD; in check_single_guarded_arithmetic_op()
766 Res.dbl = fD; in check_single_guarded_arithmetic_op()
770 Res.dbl = fD; in check_single_guarded_arithmetic_op()
774 Res.dbl = fD; in check_single_guarded_arithmetic_op()
778 Res.dbl = fD; in check_single_guarded_arithmetic_op()
782 Res.dbl = fD; in check_single_guarded_arithmetic_op()
786 Res.dbl = fD; in check_single_guarded_arithmetic_op()
799 if ((Res.layout.sign != Exp.layout.sign) || in check_single_guarded_arithmetic_op()
[all …]

1234567891011