/external/valgrind/none/tests/x86/ |
D | x87trigOOR.c | 15 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/amd64/ |
D | x87trigOOR.c | 15 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/ |
D | MergeFunctions.cpp | 481 if (int Res = cmpNumbers(L.getBitWidth(), R.getBitWidth())) in cmpAPInts() local 482 return Res; in cmpAPInts() 492 if (int Res = cmpNumbers(APFloat::semanticsPrecision(SL), in cmpAPFloats() local 494 return Res; in cmpAPFloats() 495 if (int Res = cmpNumbers(APFloat::semanticsMaxExponent(SL), in cmpAPFloats() local 497 return Res; in cmpAPFloats() 498 if (int Res = cmpNumbers(APFloat::semanticsMinExponent(SL), in cmpAPFloats() local 500 return Res; in cmpAPFloats() 501 if (int Res = cmpNumbers(APFloat::semanticsSizeInBits(SL), in cmpAPFloats() local 503 return Res; in cmpAPFloats() [all …]
|
/external/clang/test/OpenMP/ |
D | threadprivate_codegen.cpp | 316 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/Transforms/Scalar/ |
D | LowerAtomic.cpp | 32 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 …]
|
D | Scalarizer.cpp | 385 ValueVector Res; in splitBinary() local 386 Res.resize(NumElems); in splitBinary() 388 Res[Elem] = Split(Builder, Op0[Elem], Op1[Elem], in splitBinary() 390 gather(&I, Res); in splitBinary() 405 ValueVector Res; in visitSelectInst() local 406 Res.resize(NumElems); in visitSelectInst() 412 Res[I] = Builder.CreateSelect(Op0[I], Op1[I], Op2[I], in visitSelectInst() 417 Res[I] = Builder.CreateSelect(Op0, Op1[I], Op2[I], in visitSelectInst() 420 gather(&SI, Res); in visitSelectInst() 452 ValueVector Res; in visitGetElementPtrInst() local [all …]
|
/external/lzma/CPP/7zip/Common/ |
D | CWrappers.cpp | 18 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() 49 p->Res = (p->Stream->Read(data, curSize, &curSize)); in MyRead() 52 if (p->Res == S_OK) in MyRead() 54 return HRESULT_To_SRes(p->Res, SZ_ERROR_READ); in MyRead() 62 p->Res = WriteStream(p->Stream, data, size); in MyWrite() 63 if (p->Res != 0) in MyWrite() 67 p->Res = S_OK; in MyWrite() 83 Res = SZ_OK; in CSeqOutStreamWrap() [all …]
|
D | CWrappers.h | 13 HRESULT Res; member 22 HRESULT Res; member 32 HRESULT Res; member 41 HRESULT Res; member 59 HRESULT Res; member 70 Res = S_OK; in Init() 91 HRESULT Res; member 102 Res = S_OK; in Init()
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | macUtils.py | 10 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/Hexagon/ |
D | BitTracker.cpp | 412 RegisterCell Res(W); in eIMM() local 415 Res[i] = BitValue(V & 1); in eIMM() 418 return Res; in eIMM() 426 RegisterCell Res(BW); in eIMM() local 428 Res[i] = A[i]; in eIMM() 429 return Res; in eIMM() 437 RegisterCell Res(W); in eADD() local 446 Res[I] = BitValue(S & 1); in eADD() 455 Res[I] = BitValue::ref(V2); in eADD() 457 Res[I] = BitValue::ref(V1); in eADD() [all …]
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86Operand.h | 468 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken() local 469 Res->Tok.Data = Str.data(); in CreateToken() 470 Res->Tok.Length = Str.size(); in CreateToken() 471 return Res; in CreateToken() 478 auto Res = llvm::make_unique<X86Operand>(Register, StartLoc, EndLoc); member 479 Res->Reg.RegNo = RegNo; 480 Res->AddressOf = AddressOf; 481 Res->OffsetOfLoc = OffsetOfLoc; 482 Res->SymName = SymName; 483 Res->OpDecl = OpDecl; [all …]
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerUtil.cpp | 55 int Res = setitimer(ITIMER_REAL, &T, nullptr); in SetTimer() local 56 assert(Res == 0); in SetTimer() 60 Res = sigaction(SIGALRM, &sigact, 0); in SetTimer() 61 assert(Res == 0); in SetTimer() 175 std::string Res; in Base64() local 179 Res += Table[(x >> 18) & 63]; in Base64() 180 Res += Table[(x >> 12) & 63]; in Base64() 181 Res += Table[(x >> 6) & 63]; in Base64() 182 Res += Table[x & 63]; in Base64() 186 Res += Table[(x >> 18) & 63]; in Base64() [all …]
|
/external/llvm/include/llvm/Object/ |
D | RelocVisitor.h | 287 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_X86_64_32() local 288 return RelocToApply(Res, 4); in visitELF_X86_64_32() 292 int32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_X86_64_32S() local 293 return RelocToApply(Res, 4); in visitELF_X86_64_32S() 299 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_PPC64_ADDR32() local 300 return RelocToApply(Res, 4); in visitELF_PPC64_ADDR32() 310 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_PPC_ADDR32() local 311 return RelocToApply(Res, 4); in visitELF_PPC_ADDR32() 316 uint32_t Res = Value & 0xFFFFFFFF; in visitELF_MIPS_32() local 317 return RelocToApply(Res, 4); in visitELF_MIPS_32() [all …]
|
/external/clang/lib/Lex/ |
D | PPExpressions.cpp | 537 llvm::APSInt Res(LHS.getBitWidth()); in EvaluateDirectiveSubExpr() local 547 Res.setIsUnsigned(LHS.isUnsigned()|RHS.isUnsigned()); in EvaluateDirectiveSubExpr() 550 if (ValueLive && Res.isUnsigned()) { in EvaluateDirectiveSubExpr() 562 LHS.Val.setIsUnsigned(Res.isUnsigned()); in EvaluateDirectiveSubExpr() 563 RHS.Val.setIsUnsigned(Res.isUnsigned()); in EvaluateDirectiveSubExpr() 571 Res = LHS.Val % RHS.Val; in EvaluateDirectiveSubExpr() 581 Res = llvm::APSInt(LHS.Val.sdiv_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr() 583 Res = LHS.Val / RHS.Val; in EvaluateDirectiveSubExpr() 592 if (Res.isSigned()) in EvaluateDirectiveSubExpr() 593 Res = llvm::APSInt(LHS.Val.smul_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr() [all …]
|
/external/llvm/lib/Option/ |
D | ArgList.cpp | 85 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 …]
|
/external/llvm/lib/Object/ |
D | IRObjectFile.cpp | 94 uint32_t Res = BasicSymbolRef::SF_None; in IRObjectFile() local 99 Res |= BasicSymbolRef::SF_Global; in IRObjectFile() 105 Res |= BasicSymbolRef::SF_Undefined; in IRObjectFile() 106 Res |= BasicSymbolRef::SF_Global; in IRObjectFile() 110 std::make_pair<std::string, uint32_t>(Key, std::move(Res))); in IRObjectFile() 154 uintptr_t Res; in moveSymbolNext() local 160 Res = skipEmpty(Iter, *M); in moveSymbolNext() 166 Res = skipEmpty(Iter, *M); in moveSymbolNext() 172 Res = skipEmpty(Iter, *M); in moveSymbolNext() 179 Res = (Index << 2) | 3; in moveSymbolNext() [all …]
|
/external/llvm/lib/MC/ |
D | MCExpr.cpp | 417 bool MCExpr::evaluateAsAbsolute(int64_t &Res) const { in evaluateAsAbsolute() 418 return evaluateAsAbsolute(Res, nullptr, nullptr, nullptr); in evaluateAsAbsolute() 421 bool MCExpr::evaluateAsAbsolute(int64_t &Res, in evaluateAsAbsolute() argument 423 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr); in evaluateAsAbsolute() 426 bool MCExpr::evaluateAsAbsolute(int64_t &Res, in evaluateAsAbsolute() argument 429 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs); in evaluateAsAbsolute() 432 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const { in evaluateAsAbsolute() argument 433 return evaluateAsAbsolute(Res, &Asm, nullptr, nullptr); in evaluateAsAbsolute() 436 bool MCExpr::evaluateKnownAbsolute(int64_t &Res, in evaluateKnownAbsolute() argument 438 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr, in evaluateKnownAbsolute() [all …]
|
/external/llvm/lib/Support/ |
D | DeltaAlgorithm.cpp | 28 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()
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 206 ExprResult Res(ParseRHSOfBinaryExpression(LHS, prec::Conditional)); in ParseConstantExpression() local 207 return Actions.ActOnConstantExpression(Res); in ParseConstantExpression() 223 ExprResult Res(ParseRHSOfBinaryExpression(LHS, prec::LogicalOr)); in ParseConstraintExpression() local 225 return Res; in ParseConstraintExpression() 465 ExprResult Res = ParseCastExpression(isUnaryExpression, in ParseCastExpression() local 471 return Res; in ParseCastExpression() 685 ExprResult Res; in ParseCastExpression() local 709 Res = ParseParenExpression(ParenExprType, false/*stopIfCastExr*/, in ParseCastExpression() 722 return Res; in ParseCastExpression() 733 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression() [all …]
|
/external/llvm/unittests/Support/ |
D | MD5Test.cpp | 28 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/CodeGen/SelectionDAG/ |
D | LegalizeIntegerTypes.cpp | 39 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::BITREVERSE: Res = PromoteIntRes_BITREVERSE(N); break; in PromoteIntegerResult() 57 case ISD::BSWAP: Res = PromoteIntRes_BSWAP(N); break; in PromoteIntegerResult() 58 case ISD::BUILD_PAIR: Res = PromoteIntRes_BUILD_PAIR(N); break; in PromoteIntegerResult() 59 case ISD::Constant: Res = PromoteIntRes_Constant(N); break; in PromoteIntegerResult() 61 Res = PromoteIntRes_CONVERT_RNDSAT(N); break; in PromoteIntegerResult() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | misched-matmul.ll | 194 %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/ |
D | ASanStackFrameLayout.cpp | 40 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/ |
D | round.c | 544 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/ |
D | round.c | 544 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 …]
|