/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | FunctionComparator.cpp | 78 if (int Res = cmpNumbers(L.getBitWidth(), R.getBitWidth())) in cmpAPInts() local 91 if (int Res = cmpNumbers(APFloat::semanticsPrecision(SL), in cmpAPFloats() local 94 if (int Res = cmpNumbers(APFloat::semanticsMaxExponent(SL), in cmpAPFloats() local 97 if (int Res = cmpNumbers(APFloat::semanticsMinExponent(SL), in cmpAPFloats() local 100 if (int Res = cmpNumbers(APFloat::semanticsSizeInBits(SL), in cmpAPFloats() local 108 if (int Res = cmpNumbers(L.size(), R.size())) in cmpMem() local 118 if (int Res = cmpNumbers(L.getNumAttrSets(), R.getNumAttrSets())) in cmpAttrs() local 136 if (int Res = cmpTypes(TyL, TyR)) in cmpAttrs() local 143 if (int Res = cmpNumbers((uint64_t)TyL, (uint64_t)TyR)) in cmpAttrs() local 176 if (int Res = cmpNumbers(L->getNumOperands(), R->getNumOperands())) in cmpRangeMetadata() local [all …]
|
H A D | LowerAtomic.cpp | 31 Value *Res = Builder.CreateSelect(Equal, Val, Orig); in lowerAtomicCmpXchgInst() local 109 Value *Res = buildAtomicRMWValue(RMWI->getOperation(), Builder, Orig, Val); in lowerAtomicRMWInst() local
|
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
H A D | MachineIRBuilder.cpp | 134 MachineInstrBuilder MachineIRBuilder::buildDynStackAlloc(const DstOp &Res, in buildDynStackAlloc() 145 MachineInstrBuilder MachineIRBuilder::buildFrameIndex(const DstOp &Res, in buildFrameIndex() 154 MachineInstrBuilder MachineIRBuilder::buildGlobalValue(const DstOp &Res, in buildGlobalValue() 173 void MachineIRBuilder::validateUnaryOp(const LLT Res, const LLT Op0) { in validateUnaryOp() 178 void MachineIRBuilder::validateBinaryOp(const LLT Res, const LLT Op0, in validateBinaryOp() 184 void MachineIRBuilder::validateShiftOp(const LLT Res, const LLT Op0, in validateShiftOp() 190 MachineInstrBuilder MachineIRBuilder::buildPtrAdd(const DstOp &Res, in buildPtrAdd() 201 MachineIRBuilder::materializePtrAdd(Register &Res, Register Op0, in materializePtrAdd() 216 MachineInstrBuilder MachineIRBuilder::buildMaskLowPtrBits(const DstOp &Res, in buildMaskLowPtrBits() 227 MachineIRBuilder::buildPadVectorWithUndefElements(const DstOp &Res, in buildPadVectorWithUndefElements() [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/Target/Xtensa/MCTargetDesc/ |
H A D | XtensaMCCodeEmitter.cpp | 151 uint32_t Res = static_cast<uint32_t>(MO.getImm()); in getMachineOpValue() local 203 int32_t Res = MO.getImm(); in getCallEncoding() local 224 int32_t Res = MO.getImm(); in getL32RTargetEncoding() local 244 uint32_t Res = static_cast<uint32_t>(MI.getOperand(OpNo + 1).getImm()); in getMemRegEncoding() local 276 int32_t Res = MO.getImm(); in getImm8OpValue() local 288 int32_t Res = MO.getImm(); in getImm8_sh8OpValue() local 301 int32_t Res = MO.getImm(); in getImm12OpValue() local 313 uint32_t Res = static_cast<uint32_t>(MO.getImm()); in getUimm4OpValue() local 325 uint32_t Res = static_cast<uint32_t>(MO.getImm()); in getUimm5OpValue() local 337 uint32_t Res = static_cast<uint32_t>(MO.getImm()); in getShimm1_31OpValue() local [all …]
|
/openbsd-src/gnu/llvm/clang/lib/Frontend/ |
H A D | SerializedDiagnosticReader.cpp | 45 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = Stream.Read(8)) { in readDiagnostics() local 57 if (Expected<unsigned> Res = Stream.ReadCode()) { in readDiagnostics() local 122 if (Expected<unsigned> Res = Stream.ReadCode()) in skipUntilRecordOrBlock() local 134 if (Expected<unsigned> Res = Stream.ReadSubBlockID()) in skipUntilRecordOrBlock() local 174 llvm::ErrorOr<Cursor> Res = skipUntilRecordOrBlock(Stream, BlockOrCode); in readMetaBlock() local 226 llvm::ErrorOr<Cursor> Res = skipUntilRecordOrBlock(Stream, BlockOrCode); in readDiagnosticBlock() local
|
/openbsd-src/gnu/llvm/llvm/lib/MC/ |
H A D | MCExpr.cpp | 540 bool MCExpr::evaluateAsAbsolute(int64_t &Res, in evaluateAsAbsolute() 545 bool MCExpr::evaluateAsAbsolute(int64_t &Res, in evaluateAsAbsolute() 553 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const { in evaluateAsAbsolute() 557 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm) const { in evaluateAsAbsolute() 561 bool MCExpr::evaluateKnownAbsolute(int64_t &Res, in evaluateKnownAbsolute() 567 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm, in evaluateAsAbsolute() 701 int64_t RHS_Cst, MCValue &Res) { in EvaluateSymbolicAdd() 749 bool MCExpr::evaluateAsRelocatable(MCValue &Res, in evaluateAsRelocatable() 757 bool MCExpr::evaluateAsValue(MCValue &Res, const MCAsmLayout &Layout) const { in evaluateAsValue() 776 bool MCExpr::evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl()
|
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
H A D | BitTracker.cpp | 413 RegisterCell Res(W); in eIMM() local 426 RegisterCell Res(BW); in eIMM() local 436 RegisterCell Res(W); in eADD() local 469 RegisterCell Res(W); in eSUB() local 502 RegisterCell Res(W); in eMLS() local 512 RegisterCell Res(W); in eMLU() local 521 RegisterCell Res = RegisterCell::ref(A1); in eASL() local 531 RegisterCell Res = RegisterCell::ref(A1); in eLSR() local 541 RegisterCell Res = RegisterCell::ref(A1); in eASR() local 552 RegisterCell Res(W); in eAND() local [all …]
|
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/ |
H A D | DataflowAnalysisContext.cpp | 83 auto Res = NullPointerVals.try_emplace(CanonicalPointeeType, nullptr); in getOrCreateNullPointerValue() local 94 auto Res = std::make_pair(&LHS, &RHS); in makeCanonicalBoolValuePair() local 105 auto Res = ConjunctionVals.try_emplace(makeCanonicalBoolValuePair(LHS, RHS), in getOrCreateConjunction() local 118 auto Res = DisjunctionVals.try_emplace(makeCanonicalBoolValuePair(LHS, RHS), in getOrCreateDisjunction() local 127 auto Res = NegationVals.try_emplace(&Val, nullptr); in getOrCreateNegation() local 138 auto Res = ImplicationVals.try_emplace(std::make_pair(&LHS, &RHS), nullptr); in getOrCreateImplication() local 150 auto Res = BiconditionalVals.try_emplace(makeCanonicalBoolValuePair(LHS, RHS), in getOrCreateIff() local 164 auto Res = FlowConditionConstraints.try_emplace(&Token, &Constraint); in addFlowConditionConstraint() local 228 auto Res = VisitedTokens.insert(&Token); in addTransitiveFlowConditionConstraints() local
|
/openbsd-src/gnu/llvm/llvm/tools/llvm-rc/ |
H A D | ResourceFileWriter.cpp | 423 Error ResourceFileWriter::handleError(Error Err, const RCResource *Res) { in handleError() 432 Error ResourceFileWriter::visitNullResource(const RCResource *Res) { in visitNullResource() 436 Error ResourceFileWriter::visitAcceleratorsResource(const RCResource *Res) { in visitAcceleratorsResource() 440 Error ResourceFileWriter::visitBitmapResource(const RCResource *Res) { in visitBitmapResource() 444 Error ResourceFileWriter::visitCursorResource(const RCResource *Res) { in visitCursorResource() 448 Error ResourceFileWriter::visitDialogResource(const RCResource *Res) { in visitDialogResource() 452 Error ResourceFileWriter::visitIconResource(const RCResource *Res) { in visitIconResource() 466 Error ResourceFileWriter::visitHTMLResource(const RCResource *Res) { in visitHTMLResource() 470 Error ResourceFileWriter::visitMenuResource(const RCResource *Res) { in visitMenuResource() 475 const auto *Res = cast<StringTableResource>(Base); in visitStringTableResource() local [all …]
|
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | ValueLattice.h | 204 ValueLatticeElement Res; in get() local 212 ValueLatticeElement Res; in getNot() local 223 ValueLatticeElement Res; variable 229 ValueLatticeElement Res; variable 235 ValueLatticeElement Res; in getOverdefined() local
|
/openbsd-src/gnu/llvm/llvm/lib/Support/ |
H A D | DeltaAlgorithm.cpp | 27 void DeltaAlgorithm::Split(const changeset_ty &S, changesetlist_ty &Res) { in Split() 53 changeset_ty Res; in Delta() local 69 changeset_ty &Res) { in Search()
|
H A D | Compression.cpp | 111 int Res = ::compress2((Bytef *)CompressedBuffer.data(), &CompressedSize, in compress() local 125 int Res = ::uncompress((Bytef *)Output, (uLongf *)&UncompressedSize, in decompress() local 184 const size_t Res = ::ZSTD_decompress( in decompress() local
|
/openbsd-src/gnu/llvm/llvm/lib/Testing/Annotations/ |
H A D | Annotations.cpp | 111 std::vector<std::pair<size_t, llvm::StringRef>> Res; in pointsWithPayload() local 144 std::vector<Annotations::Range> Res; in ranges() local 156 std::vector<std::pair<Annotations::Range, llvm::StringRef>> Res; in rangesWithPayload() local 167 llvm::StringMap<llvm::SmallVector<Annotations::Range, 1>> Res; in all_ranges() local
|
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | MachineIRBuilder.h | 498 MachineInstrBuilder buildPtrMask(const DstOp &Res, const SrcOp &Op0, in buildPtrMask() 559 MachineInstrBuilder buildUAddo(const DstOp &Res, const DstOp &CarryOut, in buildUAddo() 565 MachineInstrBuilder buildUSubo(const DstOp &Res, const DstOp &CarryOut, in buildUSubo() 571 MachineInstrBuilder buildSAddo(const DstOp &Res, const DstOp &CarryOut, in buildSAddo() 577 MachineInstrBuilder buildSSubo(const DstOp &Res, const DstOp &CarryOut, in buildSSubo() 596 MachineInstrBuilder buildUAdde(const DstOp &Res, const DstOp &CarryOut, in buildUAdde() 604 MachineInstrBuilder buildUSube(const DstOp &Res, const DstOp &CarryOut, in buildUSube() 612 MachineInstrBuilder buildSAdde(const DstOp &Res, const DstOp &CarryOut, in buildSAdde() 620 MachineInstrBuilder buildSSube(const DstOp &Res, const DstOp &CarryOut, in buildSSube() 658 MachineInstrBuilder buildSExtInReg(const DstOp &Res, const SrcOp &Op, int64_t ImmOp) { in buildSExtInReg() [all …]
|
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
H A D | string_utils.cpp | 36 int Res = 0; in appendNumber() local 97 int Res = 0; in appendString() local 110 int Res = 0; in appendPointer() local 127 int Res = 0; in formatString() local 216 int Res = formatString(Buffer, BufferLength, Format, Args); in formatString() local
|
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 518 ValueVector Res; in splitUnary() local 540 ValueVector Res; in splitBinary() local 604 ValueVector Res(NumElems); in splitCall() local 640 ValueVector Res; in visitSelectInst() local 711 ValueVector Res; in visitGetElementPtrInst() local 737 ValueVector Res; in visitCastInst() local 756 ValueVector Res; in visitBitCastInst() local 812 ValueVector Res; in visitInsertElementInst() local 847 Value *Res = Op0[CI->getValue().getZExtValue()]; in visitExtractElementInst() local 855 Value *Res = PoisonValue::get(VT->getElementType()); in visitExtractElementInst() local [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
H A D | SPIRVGlobalRegistry.cpp | 64 auto Res = MRI.createGenericVirtualRegister(LLT::scalar(32)); in createTypeVReg() local 70 auto Res = MRI.createGenericVirtualRegister(LLT::scalar(32)); in createTypeVReg() local 131 Register Res = DT.find(CI, CurMF); in getOrCreateConstIntReg() local 151 Register Res; in getOrCreateConstInt() local 190 Register Res = DT.find(ConstInt, &MF); in buildConstantInt() local 236 Register Res = DT.find(ConstFP, &MF); in buildConstantFP() local 252 Register Res = DT.find(CA, CurMF); in getOrCreateIntCompositeOrNull() local 325 Register Res = DT.find(CA, CurMF); in getOrCreateIntCompositeOrNull() local 400 Register Res = DT.find(CP, CurMF); in getOrCreateConstNullPtr() local 426 auto Res = MIRBuilder.buildInstr(SPIRV::OpConstantSampler) in buildConstantSampler() local [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/ |
H A D | DXILResource.cpp | 32 for (auto *Res : Entry->operands()) { in collect() local 43 for (auto *Res : Entry->operands()) { in collect() local 320 for (auto &Res : Data) in print() local 377 for (auto &Res : Data) in write() local
|
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 43 SDValue Res = SDValue(); in PromoteIntegerResult() local 311 SDValue Res = DAG.getAtomic(N->getOpcode(), SDLoc(N), in PromoteIntRes_Atomic0() local 323 SDValue Res = DAG.getAtomic(N->getOpcode(), SDLoc(N), in PromoteIntRes_Atomic1() local 346 SDValue Res = DAG.getAtomicCmpSwap( in PromoteIntRes_AtomicCmpSwap() local 375 SDValue Res = DAG.getAtomicCmpSwap( in PromoteIntRes_AtomicCmpSwap() local 448 SDValue Res = in PromoteIntRes_BITCAST() local 504 if (SDValue Res = TLI.expandBSWAP(N, DAG)) in PromoteIntRes_BSWAP() local 525 if (SDValue Res = TLI.expandBITREVERSE(N, DAG)) in PromoteIntRes_BITREVERSE() local 688 SDValue Res; in PromoteIntRes_FP_TO_XINT() local 737 SDValue Res = in PromoteIntRes_GET_ROUNDING() local [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
H A D | MemDepPrinter.cpp | 103 MemDepResult Res = MDA.getDependency(Inst); in runOnFunction() local 113 const MemDepResult &Res = I.getResult(); in runOnFunction() local 124 const MemDepResult &Res = I.getResult(); in runOnFunction() local
|
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86TargetObjectFile.cpp | 26 const MCExpr *Res = in getTTypeGlobalReference() local 49 const MCExpr *Res = in getIndirectSymViaGOTPCRel() local
|
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMatInt.cpp | 15 static int getInstSeqCost(RISCVMatInt::InstSeq &Res, bool HasRVC) { in getInstSeqCost() 50 RISCVMatInt::InstSeq &Res) { in generateInstSeqImpl() 176 RISCVMatInt::InstSeq Res; in generateInstSeq() local
|
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetObjectFile.cpp | 41 const MCExpr *Res = in getTTypeGlobalReference() local 66 const MCExpr *Res = in getIndirectSymViaGOTPCRel() local
|
/openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/ |
H A D | FuzzerDataFlowTrace.h | 87 uint32_t Res = 0; in NumberOfCoveredBlocks() local 101 uint32_t Res = Counters[0]; in SmallestNonZeroCounter() local
|
/openbsd-src/gnu/llvm/llvm/lib/Option/ |
H A D | Arg.cpp | 72 SmallString<256> Res; in getAsString() local 103 SmallString<256> Res; in render() local
|