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

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp67 if (int Res = cmpNumbers(L.getBitWidth(), R.getBitWidth()))
68 return Res;
78 if (int Res = cmpNumbers(APFloat::semanticsPrecision(SL),
80 return Res;
81 if (int Res = cmpNumbers(APFloat::semanticsMaxExponent(SL),
83 return Res;
84 if (int Res = cmpNumbers(APFloat::semanticsMinExponent(SL),
86 return Res;
87 if (int Res = cmpNumbers(APFloat::semanticsSizeInBits(SL),
89 return Res;
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCExpr.cpp49 bool LanaiMCExpr::evaluateAsRelocatableImpl(MCValue &Res, argument
52 if (!getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup))
55 Res =
56 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind());
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DContiki.cpp23 SanitizerMask Res = ToolChain::getSupportedSanitizers(); local
25 Res |= SanitizerKind::SafeStack;
26 return Res;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DErrno.h35 decltype(F(As...)) Res;
38 Res = F(As...);
39 } while (Res == Fail && errno == EINTR);
40 return Res;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWindowsResourceDumper.h21 Dumper(WindowsResource *Res, ScopedPrinter &SW) : SW(SW), WinRes(Res) {} argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackOffset.h74 StackOffset Res(*this);
75 Res += Other;
76 return Res;
86 StackOffset Res(*this);
87 Res -= Other;
88 return Res;
92 StackOffset Res = {}; local
94 Res -= Other;
95 return Res;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dstring_utils.cpp36 int Res = 0;
40 Res += appendChar(Buffer, BufferEnd, '-');
58 Res += appendChar(Buffer, BufferEnd, c);
61 Res += appendChar(Buffer, BufferEnd, '-');
66 Res += appendChar(Buffer, BufferEnd, Digit);
68 return Res;
96 int Res = 0; local
98 if (MaxChars >= 0 && Res >= MaxChars)
100 Res += appendChar(Buffer, BufferEnd, *S);
103 while (Width < -Res)
109 int Res = 0; local
126 int Res = 0; local
[all...]
H A Dbytemap.h99 u8 *Res = get(Index); local
100 if (!Res) {
102 if (!(Res = get(Index))) {
103 Res = reinterpret_cast<u8 *>(map(nullptr, Level2Size, "scudo:bytemap"));
104 atomic_store(&Level1Map[Index], reinterpret_cast<uptr>(Res),
108 return Res;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/Utils/
H A DRISCVMatInt.cpp19 void generateInstSeq(int64_t Val, bool IsRV64, InstSeq &Res) { argument
32 Res.push_back(Inst(RISCV::LUI, Hi20));
36 Res.push_back(Inst(AddiOpc, Lo12));
71 generateInstSeq(Hi52, IsRV64, Res);
73 Res.push_back(Inst(RISCV::SLLI, ShiftAmount));
75 Res.push_back(Inst(RISCV::ADDI, Lo12));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
H A DModuleSymbolTable.cpp135 uint32_t Res = BasicSymbolRef::SF_Executable;
140 Res |= BasicSymbolRef::SF_Global;
146 Res |= BasicSymbolRef::SF_Undefined;
147 Res |= BasicSymbolRef::SF_Global;
150 Res |= BasicSymbolRef::SF_Weak;
151 Res |= BasicSymbolRef::SF_Global;
154 Res |= BasicSymbolRef::SF_Weak;
155 Res |= BasicSymbolRef::SF_Undefined;
157 AsmSymbol(Key, BasicSymbolRef::Flags(Res));
190 uint32_t Res local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp32 Value *Res = Builder.CreateSelect(Equal, Val, Orig); local
33 Builder.CreateStore(Res, Ptr);
35 Res = Builder.CreateInsertValue(UndefValue::get(CXI->getType()), Orig, 0);
36 Res = Builder.CreateInsertValue(Res, Equal, 1);
38 CXI->replaceAllUsesWith(Res);
49 Value *Res = nullptr; local
54 Res = Val;
57 Res = Builder.CreateAdd(Orig, Val);
60 Res
[all...]
H A DScalarizer.cpp470 ValueVector Res; local
471 Res.resize(NumElems);
473 Res[Elem] = Split(Builder, Op[Elem], I.getName() + ".i" + Twine(Elem));
474 gather(&I, Res);
492 ValueVector Res; local
493 Res.resize(NumElems);
495 Res[Elem] = Split(Builder, Op0[Elem], Op1[Elem],
497 gather(&I, Res);
547 ValueVector Res(NumElems);
564 Res[Ele
583 ValueVector Res; local
647 ValueVector Res; local
673 ValueVector Res; local
692 ValueVector Res; local
745 ValueVector Res; local
768 ValueVector Res; local
800 ValueVector Res; local
856 Value *Res = UndefValue::get(Ty); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/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 DCompression.cpp53 int Res = local
60 return Res ? createError(convertZlibCodeToString(Res)) : Error::success();
65 int Res = local
71 return Res ? createError(convertZlibCodeToString(Res)) : Error::success();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/
H A DOptionUtils.cpp22 IntTy Res = Default; local
24 if (StringRef(A->getValue()).getAsInteger(Base, Res)) {
30 return Res;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp163 MachineInstrBuilder MachineIRBuilder::buildDynStackAlloc(const DstOp &Res, argument
166 assert(Res.getLLTTy(*getMRI()).isPointer() && "expected ptr dst type");
168 Res.addDefToMIB(*getMRI(), MIB);
174 MachineInstrBuilder MachineIRBuilder::buildFrameIndex(const DstOp &Res, argument
176 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type");
178 Res.addDefToMIB(*getMRI(), MIB);
183 MachineInstrBuilder MachineIRBuilder::buildGlobalValue(const DstOp &Res, argument
185 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type");
186 assert(Res.getLLTTy(*getMRI()).getAddressSpace() ==
191 Res
202 validateBinaryOp(const LLT &Res, const LLT &Op0, const LLT &Op1) argument
208 validateShiftOp(const LLT &Res, const LLT &Op0, const LLT &Op1) argument
214 buildPtrAdd(const DstOp &Res, const SrcOp &Op0, const SrcOp &Op1) argument
225 materializePtrAdd(Register &Res, Register Op0, const LLT &ValueTy, uint64_t Value) argument
240 buildPtrMask(const DstOp &Res, const SrcOp &Op0, uint32_t NumBits) argument
273 buildCopy(const DstOp &Res, const SrcOp &Op) argument
278 buildConstant(const DstOp &Res, const ConstantInt &Val) argument
298 buildConstant(const DstOp &Res, int64_t Val) argument
306 buildFConstant(const DstOp &Res, const ConstantFP &Val) argument
331 buildConstant(const DstOp &Res, const APInt &Val) argument
337 buildFConstant(const DstOp &Res, double Val) argument
346 buildFConstant(const DstOp &Res, const APFloat &Val) argument
360 buildLoad(const DstOp &Res, const SrcOp &Addr, MachineMemOperand &MMO) argument
366 buildLoadInstr(unsigned Opcode, const DstOp &Res, const SrcOp &Addr, MachineMemOperand &MMO) argument
393 buildUAddo(const DstOp &Res, const DstOp &CarryOut, const SrcOp &Op0, const SrcOp &Op1) argument
400 buildUAdde(const DstOp &Res, const DstOp &CarryOut, const SrcOp &Op0, const SrcOp &Op1, const SrcOp &CarryIn) argument
409 buildAnyExt(const DstOp &Res, const SrcOp &Op) argument
414 buildSExt(const DstOp &Res, const SrcOp &Op) argument
419 buildZExt(const DstOp &Res, const SrcOp &Op) argument
436 buildBoolExt(const DstOp &Res, const SrcOp &Op, bool IsFP) argument
443 buildExtOrTrunc(unsigned ExtOpc, const DstOp &Res, const SrcOp &Op) argument
467 buildSExtOrTrunc(const DstOp &Res, const SrcOp &Op) argument
472 buildZExtOrTrunc(const DstOp &Res, const SrcOp &Op) argument
477 buildAnyExtOrTrunc(const DstOp &Res, const SrcOp &Op) argument
527 buildSequence(Register Res, ArrayRef<Register> Ops, ArrayRef<uint64_t> Indices) argument
568 buildUndef(const DstOp &Res) argument
572 buildMerge(const DstOp &Res, ArrayRef<Register> Ops) argument
582 buildUnmerge(ArrayRef<LLT> Res, const SrcOp &Op) argument
592 buildUnmerge(LLT Res, const SrcOp &Op) argument
601 buildUnmerge(ArrayRef<Register> Res, const SrcOp &Op) argument
611 buildBuildVector(const DstOp &Res, ArrayRef<Register> Ops) argument
620 buildSplatVector(const DstOp &Res, const SrcOp &Src) argument
627 buildBuildVectorTrunc(const DstOp &Res, ArrayRef<Register> Ops) argument
637 buildConcatVectors(const DstOp &Res, ArrayRef<Register> Ops) argument
645 buildInsert(Register Res, Register Src, Register Op, unsigned Index) argument
687 buildTrunc(const DstOp &Res, const SrcOp &Op) argument
692 buildFPTrunc(const DstOp &Res, const SrcOp &Op, Optional<unsigned> Flags) argument
698 buildICmp(CmpInst::Predicate Pred, const DstOp &Res, const SrcOp &Op0, const SrcOp &Op1) argument
705 buildFCmp(CmpInst::Predicate Pred, const DstOp &Res, const SrcOp &Op0, const SrcOp &Op1, Optional<unsigned> Flags) argument
714 buildSelect(const DstOp &Res, const SrcOp &Tst, const SrcOp &Op0, const SrcOp &Op1, Optional<unsigned> Flags) argument
724 buildInsertVectorElement(const DstOp &Res, const SrcOp &Val, const SrcOp &Elt, const SrcOp &Idx) argument
730 buildExtractVectorElement(const DstOp &Res, const SrcOp &Val, const SrcOp &Idx) argument
902 buildBlockAddress(Register Res, const BlockAddress *BA) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h582 auto Res = std::make_unique<X86Operand>(Token, Loc, EndLoc); local
583 Res->Tok.Data = Str.data();
584 Res->Tok.Length = Str.size();
585 return Res;
592 auto Res = std::make_unique<X86Operand>(Register, StartLoc, EndLoc); local
593 Res->Reg.RegNo = RegNo;
594 Res->AddressOf = AddressOf;
595 Res->OffsetOfLoc = OffsetOfLoc;
596 Res->SymName = SymName;
597 Res
608 auto Res = std::make_unique<X86Operand>(Prefix, StartLoc, EndLoc); local
618 auto Res = std::make_unique<X86Operand>(Immediate, StartLoc, EndLoc); local
632 auto Res = std::make_unique<X86Operand>(Memory, StartLoc, EndLoc); local
660 auto Res = std::make_unique<X86Operand>(Memory, StartLoc, EndLoc); local
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.h86 uint32_t Res = 0; local
89 Res++;
90 return Res;
99 uint32_t Res = Counters[0]; local
102 Res = Min(Res, Cnt);
103 assert(Res);
104 return Res;
H A DFuzzerUtil.cpp158 std::string Res; local
162 Res += Table[(x >> 18) & 63];
163 Res += Table[(x >> 12) & 63];
164 Res += Table[(x >> 6) & 63];
165 Res += Table[x & 63];
169 Res += Table[(x >> 18) & 63];
170 Res += Table[(x >> 12) & 63];
171 Res += "==";
174 Res += Table[(x >> 18) & 63];
175 Res
225 size_t Res = 0; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.cpp413 RegisterCell Res(W);
416 Res[i] = BitValue(V & 1);
419 return Res;
426 RegisterCell Res(BW);
428 Res[i] = A[i];
429 return Res;
436 RegisterCell Res(W);
445 Res[I] = BitValue(S & 1);
454 Res[I] = BitValue::ref(V2);
456 Res[
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCExpr.cpp133 MipsMCExpr::evaluateAsRelocatableImpl(MCValue &Res, argument
141 if (!SubExpr->evaluateAsRelocatable(Res, Layout, Fixup))
144 Res = MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(),
149 if (!getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup))
152 if (Res.getRefKind() != MCSymbolRefExpr::VK_None)
158 if (Res.isAbsolute() && Fixup == nullptr) {
159 int64_t AbsVal = Res
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp45 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = Stream.Read(8)) {
46 if (Res.get() == C)
50 consumeError(Res.takeError());
57 if (Expected<unsigned> Res = Stream.ReadCode()) {
58 if (Res.get() != llvm::bitc::ENTER_SUBBLOCK)
62 consumeError(Res.takeError());
122 if (Expected<unsigned> Res = Stream.ReadCode())
123 Code = Res.get();
125 return llvm::errorToErrorCode(Res.takeError());
134 if (Expected<unsigned> Res
174 llvm::ErrorOr<Cursor> Res = skipUntilRecordOrBlock(Stream, BlockOrCode); local
226 llvm::ErrorOr<Cursor> Res = skipUntilRecordOrBlock(Stream, BlockOrCode); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCExpr.cpp101 bool AArch64MCExpr::evaluateAsRelocatableImpl(MCValue &Res, argument
104 if (!getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup))
107 Res =
108 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind());
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h127 ValueLatticeElement Res; local
129 Res.markUndef();
131 Res.markConstant(C);
132 return Res;
135 ValueLatticeElement Res; local
137 Res.markNotConstant(C);
138 return Res;
141 ValueLatticeElement Res; local
142 Res.markConstantRange(std::move(CR));
143 return Res;
146 ValueLatticeElement Res; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A 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);
373 /// Build and insert \p Res = G_DYN_STACKALLOC \p Size, \p Align
376 /// the allocated memory into \p Res.
378 /// \pre \p Res must be a generic virtual register with pointer type.
381 MachineInstrBuilder buildDynStackAlloc(const DstOp &Res, const SrcOp &Size,
384 /// Build and insert \p Res = G_FRAME_INDEX \p Idx
390 /// \pre \p Res must be a generic virtual register with pointer type.
393 MachineInstrBuilder buildFrameIndex(const DstOp &Res, int Idx);
395 /// Build and insert \p Res
522 buildFPExt(const DstOp &Res, const SrcOp &Op, Optional<unsigned> Flags = None) argument
[all...]

Completed in 326 milliseconds

1234567891011>>