Home
last modified time | relevance | path

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

12345678910>>...14

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp67 if (int Res = cmpNumbers(L.getBitWidth(), R.getBitWidth())) in cmpAPInts() local
68 return Res; in cmpAPInts()
78 if (int Res = cmpNumbers(APFloat::semanticsPrecision(SL), in cmpAPFloats() local
80 return Res; in cmpAPFloats()
81 if (int Res = cmpNumbers(APFloat::semanticsMaxExponent(SL), in cmpAPFloats() local
83 return Res; in cmpAPFloats()
84 if (int Res = cmpNumbers(APFloat::semanticsMinExponent(SL), in cmpAPFloats() local
86 return Res; in cmpAPFloats()
87 if (int Res = cmpNumbers(APFloat::semanticsSizeInBits(SL), in cmpAPFloats() local
89 return Res; in cmpAPFloats()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp163 MachineInstrBuilder MachineIRBuilder::buildDynStackAlloc(const DstOp &Res, in buildDynStackAlloc() argument
166 assert(Res.getLLTTy(*getMRI()).isPointer() && "expected ptr dst type"); in buildDynStackAlloc()
168 Res.addDefToMIB(*getMRI(), MIB); in buildDynStackAlloc()
174 MachineInstrBuilder MachineIRBuilder::buildFrameIndex(const DstOp &Res, in buildFrameIndex() argument
176 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildFrameIndex()
178 Res.addDefToMIB(*getMRI(), MIB); in buildFrameIndex()
183 MachineInstrBuilder MachineIRBuilder::buildGlobalValue(const DstOp &Res, in buildGlobalValue() argument
185 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildGlobalValue()
186 assert(Res.getLLTTy(*getMRI()).getAddressSpace() == in buildGlobalValue()
191 Res.addDefToMIB(*getMRI(), MIB); in buildGlobalValue()
[all …]
DCSEMIRBuilder.cpp204 MachineInstrBuilder CSEMIRBuilder::buildConstant(const DstOp &Res, in buildConstant() argument
208 return MachineIRBuilder::buildConstant(Res, Val); in buildConstant()
211 LLT Ty = Res.getLLTTy(*getMRI()); in buildConstant()
213 return buildSplatVector(Res, buildConstant(Ty.getElementType(), Val)); in buildConstant()
219 profileDstOp(Res, ProfBuilder); in buildConstant()
224 return generateCopiesIfRequired({Res}, MIB); in buildConstant()
227 MachineInstrBuilder NewMIB = MachineIRBuilder::buildConstant(Res, Val); in buildConstant()
231 MachineInstrBuilder CSEMIRBuilder::buildFConstant(const DstOp &Res, in buildFConstant() argument
235 return MachineIRBuilder::buildFConstant(Res, Val); in buildFConstant()
238 LLT Ty = Res.getLLTTy(*getMRI()); in buildFConstant()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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.cpp470 ValueVector Res; in splitUnary() local
471 Res.resize(NumElems); in splitUnary()
473 Res[Elem] = Split(Builder, Op[Elem], I.getName() + ".i" + Twine(Elem)); in splitUnary()
474 gather(&I, Res); in splitUnary()
492 ValueVector Res; in splitBinary() local
493 Res.resize(NumElems); in splitBinary()
495 Res[Elem] = Split(Builder, Op0[Elem], Op1[Elem], in splitBinary()
497 gather(&I, Res); in splitBinary()
547 ValueVector Res(NumElems); in splitCall() local
564 Res[Elem] = Builder.CreateCall(NewIntrin, ScalarCallOps, in splitCall()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86Operand.h582 auto Res = std::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken() local
583 Res->Tok.Data = Str.data(); in CreateToken()
584 Res->Tok.Length = Str.size(); in CreateToken()
585 return Res; in CreateToken()
592 auto Res = std::make_unique<X86Operand>(Register, StartLoc, EndLoc); member
593 Res->Reg.RegNo = RegNo;
594 Res->AddressOf = AddressOf;
595 Res->OffsetOfLoc = OffsetOfLoc;
596 Res->SymName = SymName;
597 Res->OpDecl = OpDecl;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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 …]
/third_party/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 …]
DCWrappers.h16 HRESULT Res; member
26 HRESULT Res; member
37 HRESULT Res; member
47 HRESULT Res; member
64 HRESULT Res; member
75 Res = S_OK; in Init()
136 HRESULT Res; member
147 Res = S_OK; in Init()
/third_party/json/tests/thirdparty/Fuzzer/
DFuzzerIOWindows.cpp190 size_t Pos = Offset, Res; in ParseServerAndShare() local
191 if (!(Res = ParseDir(FileName, Pos))) in ParseServerAndShare()
193 Pos += Res; in ParseServerAndShare()
194 if (!(Res = ParseDir(FileName, Pos))) in ParseServerAndShare()
196 Pos += Res; in ParseServerAndShare()
215 size_t Pos = 0, Res; in ParseLocation() local
217 if ((Res = ParseCustomString(FileName, Pos, R"(\\?\)"))) { in ParseLocation()
218 Pos += Res; in ParseLocation()
219 if ((Res = ParseCustomString(FileName, Pos, R"(UNC\)"))) { in ParseLocation()
220 Pos += Res; in ParseLocation()
[all …]
DFuzzerUtil.cpp158 std::string Res; in Base64() local
162 Res += Table[(x >> 18) & 63]; in Base64()
163 Res += Table[(x >> 12) & 63]; in Base64()
164 Res += Table[(x >> 6) & 63]; in Base64()
165 Res += Table[x & 63]; in Base64()
169 Res += Table[(x >> 18) & 63]; in Base64()
170 Res += Table[(x >> 12) & 63]; in Base64()
171 Res += "=="; in Base64()
174 Res += Table[(x >> 18) & 63]; in Base64()
175 Res += Table[(x >> 12) & 63]; in Base64()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h228 void validateBinaryOp(const LLT &Res, const LLT &Op0, const LLT &Op1);
229 void validateShiftOp(const LLT &Res, const LLT &Op0, const LLT &Op1);
381 MachineInstrBuilder buildDynStackAlloc(const DstOp &Res, const SrcOp &Size,
393 MachineInstrBuilder buildFrameIndex(const DstOp &Res, int Idx);
405 MachineInstrBuilder buildGlobalValue(const DstOp &Res, const GlobalValue *GV);
419 MachineInstrBuilder buildPtrAdd(const DstOp &Res, const SrcOp &Op0,
438 Optional<MachineInstrBuilder> materializePtrAdd(Register &Res, Register Op0,
455 MachineInstrBuilder buildPtrMask(const DstOp &Res, const SrcOp &Op0,
470 MachineInstrBuilder buildUAddo(const DstOp &Res, const DstOp &CarryOut,
487 MachineInstrBuilder buildUAdde(const DstOp &Res, const DstOp &CarryOut,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.cpp133 MipsMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl() argument
141 if (!SubExpr->evaluateAsRelocatable(Res, Layout, Fixup)) in evaluateAsRelocatableImpl()
144 Res = MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), in evaluateAsRelocatableImpl()
149 if (!getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup)) in evaluateAsRelocatableImpl()
152 if (Res.getRefKind() != MCSymbolRefExpr::VK_None) in evaluateAsRelocatableImpl()
158 if (Res.isAbsolute() && Fixup == nullptr) { in evaluateAsRelocatableImpl()
159 int64_t AbsVal = Res.getConstant(); in evaluateAsRelocatableImpl()
167 return getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup); in evaluateAsRelocatableImpl()
204 Res = MCValue::get(AbsVal); in evaluateAsRelocatableImpl()
214 Res = in evaluateAsRelocatableImpl()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCExpr.cpp459 bool MCExpr::evaluateAsAbsolute(int64_t &Res) const { in evaluateAsAbsolute()
460 return evaluateAsAbsolute(Res, nullptr, nullptr, nullptr, false); in evaluateAsAbsolute()
463 bool MCExpr::evaluateAsAbsolute(int64_t &Res, in evaluateAsAbsolute() argument
465 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr, false); in evaluateAsAbsolute()
468 bool MCExpr::evaluateAsAbsolute(int64_t &Res, in evaluateAsAbsolute() argument
473 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs, true); in evaluateAsAbsolute()
476 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const { in evaluateAsAbsolute() argument
477 return evaluateAsAbsolute(Res, &Asm, nullptr, nullptr, false); in evaluateAsAbsolute()
480 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm) const { in evaluateAsAbsolute() argument
481 return evaluateAsAbsolute(Res, Asm, nullptr, nullptr, false); in evaluateAsAbsolute()
[all …]
/third_party/json/tests/thirdparty/Fuzzer/test/
DSwitch2Test.cpp23 int Res = 0; in LLVMFuzzerTestOneInput() local
27 Res += Switch(X); in LLVMFuzzerTestOneInput()
29 if (Res == 5 || Res == 3 || Res == 6 || Res == 7) { in LLVMFuzzerTestOneInput()
30 fprintf(stderr, "BINGO; Found the target, exiting; Res=%d\n", Res); in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64StackOffset.h74 StackOffset Res(*this);
75 Res += Other;
76 return Res;
86 StackOffset Res(*this);
87 Res -= Other;
88 return Res;
92 StackOffset Res = {}; variable
94 Res -= Other;
95 return Res;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Disassembler/
DAMDGPUDisassembler.cpp236 const auto Res = support::endian::read<T, support::endianness::little>(Bytes.data()); in DECODE_SDWA() local
238 return Res; in DECODE_SDWA()
278 DecodeStatus Res = MCDisassembler::Fail; in getInstruction() local
288 Res = tryDecodeInst(DecoderTableDPP864, MI, QW, Address); in getInstruction()
289 if (Res && convertDPP8Inst(MI) == MCDisassembler::Success) in getInstruction()
294 Res = tryDecodeInst(DecoderTableDPP64, MI, QW, Address); in getInstruction()
295 if (Res) break; in getInstruction()
297 Res = tryDecodeInst(DecoderTableSDWA64, MI, QW, Address); in getInstruction()
298 if (Res) { IsSDWA = true; break; } in getInstruction()
300 Res = tryDecodeInst(DecoderTableSDWA964, MI, QW, Address); in getInstruction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DValueLattice.h120 ValueLatticeElement Res; in get() local
122 Res.markConstant(C); in get()
123 return Res; in get()
126 ValueLatticeElement Res; in getNot() local
128 Res.markNotConstant(C); in getNot()
129 return Res; in getNot()
132 ValueLatticeElement Res; in getRange() local
133 Res.markConstantRange(std::move(CR)); in getRange()
134 return Res; in getRange()
137 ValueLatticeElement Res; in getOverdefined() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp40 SDValue Res = SDValue(); in PromoteIntegerResult() local
55 case ISD::MERGE_VALUES:Res = PromoteIntRes_MERGE_VALUES(N, ResNo); break; in PromoteIntegerResult()
56 case ISD::AssertSext: Res = PromoteIntRes_AssertSext(N); break; in PromoteIntegerResult()
57 case ISD::AssertZext: Res = PromoteIntRes_AssertZext(N); break; in PromoteIntegerResult()
58 case ISD::BITCAST: Res = PromoteIntRes_BITCAST(N); break; in PromoteIntegerResult()
59 case ISD::BITREVERSE: Res = PromoteIntRes_BITREVERSE(N); break; in PromoteIntegerResult()
60 case ISD::BSWAP: Res = PromoteIntRes_BSWAP(N); break; in PromoteIntegerResult()
61 case ISD::BUILD_PAIR: Res = PromoteIntRes_BUILD_PAIR(N); break; in PromoteIntegerResult()
62 case ISD::Constant: Res = PromoteIntRes_Constant(N); break; in PromoteIntegerResult()
64 case ISD::CTLZ: Res = PromoteIntRes_CTLZ(N); break; in PromoteIntegerResult()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVAsmBackend.cpp81 MCInst &Res) const { in relaxInstruction()
88 Res.setOpcode(RISCV::BEQ); in relaxInstruction()
89 Res.addOperand(Inst.getOperand(0)); in relaxInstruction()
90 Res.addOperand(MCOperand::createReg(RISCV::X0)); in relaxInstruction()
91 Res.addOperand(Inst.getOperand(1)); in relaxInstruction()
95 Res.setOpcode(RISCV::BNE); in relaxInstruction()
96 Res.addOperand(Inst.getOperand(0)); in relaxInstruction()
97 Res.addOperand(MCOperand::createReg(RISCV::X0)); in relaxInstruction()
98 Res.addOperand(Inst.getOperand(1)); in relaxInstruction()
102 Res.setOpcode(RISCV::JAL); in relaxInstruction()
[all …]
/third_party/skia/third_party/externals/spirv-cross/include/spirv_cross/
Dinternal_interface.hpp361 template <typename T, typename Res>
362 struct FragmentShader : BaseShader<FragmentShader<T, Res>>
376 Res resources;
389 template <typename T, typename Res>
390 struct VertexShader : BaseShader<VertexShader<T, Res>>
404 Res resources;
414 template <typename T, typename Res>
415 struct TessEvaluationShader : BaseShader<TessEvaluationShader<T, Res>>
429 Res resources;
439 template <typename T, typename Res>
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCExpr.cpp49 bool LanaiMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl() argument
52 if (!getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup)) in evaluateAsRelocatableImpl()
55 Res = in evaluateAsRelocatableImpl()
56 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in evaluateAsRelocatableImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp1020 SDNode *Res = nullptr; in trySelect() local
1030 Res = CurDAG->getMachineNode(LdiOp, DL, ViaVecTy, Imm); in trySelect()
1058 Res = CurDAG->getMachineNode(ADDiuOp, DL, SplatMVT, ZeroVal, LoVal); in trySelect()
1059 Res = CurDAG->getMachineNode(FILLOp, DL, ViaVecTy, SDValue(Res, 0)); in trySelect()
1072 Res = CurDAG->getMachineNode(Mips::LUi, DL, MVT::i32, HiVal); in trySelect()
1075 Res = CurDAG->getMachineNode(Mips::ORi, DL, MVT::i32, in trySelect()
1076 Hi ? SDValue(Res, 0) : ZeroVal, LoVal); in trySelect()
1079 Res = in trySelect()
1080 CurDAG->getMachineNode(Mips::FILL_W, DL, MVT::v4i32, SDValue(Res, 0)); in trySelect()
1095 Res = CurDAG->getMachineNode(Mips::LUi, DL, MVT::i32, HiVal); in trySelect()
[all …]

12345678910>>...14