| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 312 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getPartialReductionCost() local 314 return LT.first * in getPartialReductionCost() 315 getRISCVInstructionCost(RISCV::VQDOT_VV, LT.second, CostKind); in getPartialReductionCost() 558 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getSlideCost() local 560 if (!LT.second.isFixedLengthVector()) in getSlideCost() 565 if (LT.first != 1) in getSlideCost() 586 FirstSlideCost = getRISCVInstructionCost(Opcode, LT.second, CostKind); in getSlideCost() 595 SecondSlideCost = getRISCVInstructionCost(Opcode, LT.second, CostKind); in getSlideCost() 598 getRISCVInstructionCost(RISCV::VMERGE_VVM, LT.second, CostKind); in getSlideCost() 621 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(SrcTy); in getShuffleCost() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | Chrono.cpp | 31 struct tm *LT = ::localtime_r(&OurTime, &Storage); in getStructTM() local 32 assert(LT); in getStructTM() 33 (void)LT; in getStructTM() 49 struct tm *LT = ::gmtime_r(&OurTime, &Storage); in getStructTMUtc() local 50 assert(LT); in getStructTMUtc() 51 (void)LT; in getStructTMUtc() 63 struct tm LT = getStructTM(TP); in operator <<() local 65 strftime(Buffer, sizeof(Buffer), "%Y-%m-%d %H:%M:%S", <); in operator <<() 73 static void format(const T &Fractional, struct tm <, raw_ostream &OS, in format() argument 106 size_t Len = strftime(Buffer, sizeof(Buffer), Format.c_str(), <); in format() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTImporterLookupTable.cpp | 24 ASTImporterLookupTable < member 25 Builder(ASTImporterLookupTable <) : LT(LT) {} in Builder() 31 LT.add(RTy->getAsRecordDecl()); in VisitTypedefNameDecl() 34 LT.add(it); in VisitTypedefNameDecl() 41 LT.add(D); in VisitNamedDecl() 60 LT.add(RTy->getAsCXXRecordDecl()); in VisitFriendDecl() 62 LT.add(SpecTy->getAsCXXRecordDecl()); in VisitFriendDecl() 66 LT.add(SubstTy->getAsCXXRecordDecl()); in VisitFriendDecl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 664 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Src); in getCastInstrCost() local 665 if (const auto *Entry = CostTableLookup(NEONFltDblTbl, ISD, LT.second)) in getCastInstrCost() 666 return AdjustCost(LT.first * Entry->Cost); in getCastInstrCost() 933 std::pair<InstructionCost, MVT> LT = in getVectorInstrCost() local 935 return LT.first * (ValTy->getScalarType()->isIntegerTy() ? 4 : 1); in getVectorInstrCost() 1035 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getCmpSelInstrCost() local 1036 return LT.first; in getCmpSelInstrCost() 1061 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getCmpSelInstrCost() local 1068 if (LT.second.isVector() && LT.second.getVectorNumElements() > 2) { in getCmpSelInstrCost() 1069 if (LT.first > 1) in getCmpSelInstrCost() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 605 auto LT = getTypeLegalizationCost(RetTy); in getIntrinsicInstrCost() local 607 if (LT.second == MVT::v2i64) in getIntrinsicInstrCost() 608 return LT.first * 2; in getIntrinsicInstrCost() 609 if (any_of(ValidMinMaxTys, [<](MVT M) { return M == LT.second; })) in getIntrinsicInstrCost() 610 return LT.first; in getIntrinsicInstrCost() 620 auto LT = getTypeLegalizationCost(RetTy); in getIntrinsicInstrCost() local 624 LT.second.getScalarSizeInBits() == RetTy->getScalarSizeInBits() ? 1 : 4; in getIntrinsicInstrCost() 625 if (any_of(ValidSatTys, [<](MVT M) { return M == LT.second; })) in getIntrinsicInstrCost() 626 return LT.first * Instrs; in getIntrinsicInstrCost() 633 auto LT = getTypeLegalizationCost(RetTy); in getIntrinsicInstrCost() local [all …]
|
| H A D | AArch64ConditionOptimizer.cpp | 232 case AArch64CC::LT: return AArch64CC::LE; in getAdjustedCmp() 233 case AArch64CC::LE: return AArch64CC::LT; in getAdjustedCmp() 396 if (((HeadCmp == AArch64CC::GT && TrueCmp == AArch64CC::LT) || in runOnMachineFunction() 397 (HeadCmp == AArch64CC::LT && TrueCmp == AArch64CC::GT)) && in runOnMachineFunction() 418 (HeadCmp == AArch64CC::LT && TrueCmp == AArch64CC::LT)) && in runOnMachineFunction() 433 if (HeadCmp == AArch64CC::LT) { in runOnMachineFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/Utils/ |
| H A D | ARMBaseInfo.h | 42 LT, // Less than Less than, or unordered enumerator 61 case GE: return LT; in getOppositeCondition() 62 case LT: return GE; in getOppositeCondition() 81 case ARMCC::LT: return ARMCC::GT; in getSwappedCondition() 82 case ARMCC::GT: return ARMCC::LT; in getSwappedCondition() 159 case ARMCC::LT: return "lt"; in ARMCondCodeToString() 182 .Case("lt", ARMCC::LT) in ARMCondCodeFromString()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 267 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Ty); in getArithmeticInstrCost() local 272 if (ISD == ISD::MUL && Args.size() == 2 && LT.second.isVector() && in getArithmeticInstrCost() 273 (LT.second.getScalarType() == MVT::i32 || in getArithmeticInstrCost() 274 LT.second.getScalarType() == MVT::i64)) { in getArithmeticInstrCost() 286 LT.second.getScalarType() == MVT::i32) { in getArithmeticInstrCost() 300 LT.second = in getArithmeticInstrCost() 301 MVT::getVectorVT(MVT::i16, 2 * LT.second.getVectorNumElements()); in getArithmeticInstrCost() 307 if (ST->useSLMArithCosts() && LT.second == MVT::v4i32) { in getArithmeticInstrCost() 309 return LT.first * 3; // pmullw/sext in getArithmeticInstrCost() 311 return LT.first * 3; // pmullw/zext in getArithmeticInstrCost() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.cpp | 535 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Ty); in getArithmeticInstrCost() local 540 unsigned NElts = LT.second.isVector() ? in getArithmeticInstrCost() 541 LT.second.getVectorNumElements() : 1; in getArithmeticInstrCost() 543 MVT::SimpleValueType SLT = LT.second.getScalarType().SimpleTy; in getArithmeticInstrCost() 550 return get64BitInstrCost(CostKind) * LT.first * NElts; in getArithmeticInstrCost() 556 return getFullRateInstrCost() * LT.first * NElts; in getArithmeticInstrCost() 564 return 2 * getFullRateInstrCost() * LT.first * NElts; in getArithmeticInstrCost() 570 return LT.first * NElts * getFullRateInstrCost(); in getArithmeticInstrCost() 575 return (4 * QuarterRateCost + (2 * 2) * FullRateCost) * LT.first * NElts; in getArithmeticInstrCost() 582 return QuarterRateCost * NElts * LT.first; in getArithmeticInstrCost() [all …]
|
| /freebsd/sys/contrib/libsodium/src/libsodium/sodium/ |
| H A D | codecs.c | 113 #define LT(x, y) GT(y, x) macro 119 return (LT(x, 26) & (x + 'A')) | in b64_byte_to_char() 120 (GE(x, 26) & LT(x, 52) & (x + ('a' - 26))) | in b64_byte_to_char() 121 (GE(x, 52) & LT(x, 62) & (x + ('0' - 52))) | (EQ(x, 62) & '+') | in b64_byte_to_char() 140 return (LT(x, 26) & (x + 'A')) | in b64_byte_to_urlsafe_char() 141 (GE(x, 26) & LT(x, 52) & (x + ('a' - 26))) | in b64_byte_to_urlsafe_char() 142 (GE(x, 52) & LT(x, 62) & (x + ('0' - 52))) | (EQ(x, 62) & '-') | in b64_byte_to_urlsafe_char()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 332 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(U->getType()); in getInstructionCost() local 333 return LT.first * BaseT::getInstructionCost(U, Operands, CostKind); in getInstructionCost() 620 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(SrcTy); in getShuffleCost() local 627 return LT.first * CostFactor; in getShuffleCost() 781 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Src); in getMemoryOpCost() local 794 (LT.second == MVT::v16i8 || LT.second == MVT::v8i16 || in getMemoryOpCost() 795 LT.second == MVT::v4i32 || LT.second == MVT::v4f32); in getMemoryOpCost() 797 (LT.second == MVT::v2f64 || LT.second == MVT::v2i64); in getMemoryOpCost() 805 unsigned SrcBytes = LT.second.getStoreSize(); in getMemoryOpCost() 827 Alignment >= LT.second.getScalarType().getStoreSize()) in getMemoryOpCost() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.cpp | 152 std::pair<InstructionCost, MVT> LT = in getIntrinsicInstrCost() local 154 return LT.first + 2; in getIntrinsicInstrCost() 264 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getCmpSelInstrCost() local 266 return LT.first + FloatFactor * getTypeNumElements(ValTy); in getCmpSelInstrCost() 284 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Ty); in getArithmeticInstrCost() local 285 if (LT.second.isFloatingPoint()) in getArithmeticInstrCost() 286 return LT.first + FloatFactor * getTypeNumElements(Ty); in getArithmeticInstrCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | LineTable.cpp | 253 LineTable LT; in decode() local 255 LT.Lines.push_back(Row); in decode() 260 return LT; in decode() 284 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const LineTable <) { in lookup() 285 for (const auto &LineEntry : LT) in lookup() 289 operator <<(raw_ostream & OS,const LineTable & LT) operator <<() argument
|
| H A D | GsymContext.cpp | 115 const gsym::LineTable < = *FuncInfoOrErr->OptLineTable; in getLineInfoForAddressRange() local 118 for (const auto &LineEntry : LT) { in getLineInfoForAddressRange()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Interp.h | 180 template <ShiftDir Dir, typename LT, typename RT> 181 bool CheckShift(InterpState &S, CodePtr OpPC, const LT &LHS, const RT &RHS, in CheckShift() 1284 bool LT(InterpState &S, CodePtr OpPC) { in LT() function 2685 template <class LT, class RT, ShiftDir Dir> 2686 inline bool DoShift(InterpState &S, CodePtr OpPC, LT &LHS, RT &RHS, in DoShift() 2687 LT *Result) { in DoShift() 2688 static_assert(!needsAlloc<LT>()); in DoShift() 2704 return DoShift<LT, RT, in DoShift() 2718 typename LT::AsUnsigned R; in DoShift() 2724 R = LT::AsUnsigned::zero(LHS.bitWidth()); in DoShift() [all …]
|
| /freebsd/contrib/ncurses/progs/ |
| H A D | tset.c | 214 #define LT 0x04 macro 217 #define LE (LT | EQ) 419 mapp->conditional |= LT; in add_mapping() 422 if (mapp->conditional & LT) in add_mapping() 459 mapp->conditional = ~mapp->conditional & (EQ | GT | LT); in add_mapping() 484 if (mapp->conditional & LT) in add_mapping() 519 case LT: in mapped()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 1041 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Ty); variable 1048 if (TLI->isOperationLegalOrPromote(ISD, LT.second)) { 1051 return LT.first * OpCost; 1054 if (!TLI->isOperationExpand(ISD, LT.second)) { 1057 return LT.first * 2 * OpCost; 1066 LT.second) || 1068 LT.second)) { 1383 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); variable 1385 if (!(ValTy->isVectorTy() && !LT.second.isVector()) && 1386 !TLI->isOperationExpand(ISD, LT.second)) { [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | DAGISelEmitter.cpp | 89 const TreePatternNode < = LHS->getSrcPattern(); in operator ()() local 92 MVT LHSVT = LT.getNumTypes() != 0 ? LT.getSimpleType(0) : MVT::Other; in operator ()()
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/ |
| H A D | DWARFLinkerDeclContext.cpp | |
| /freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfdump/ |
| H A D | llvm-dwarfdump.cpp | 591 static bool collectLineTableSources(const DWARFDebugLine::LineTable <, in collectLineTableSources() argument 595 std::optional<uint64_t> LastIndex = LT.getLastValidFileIndex(); in collectLineTableSources() 596 for (uint64_t I = LT.hasFileAtIndex(0) ? 0 : 1, in collectLineTableSources() 600 Result &= LT.getFileNameByIndex( in collectLineTableSources() 619 const DWARFDebugLine::LineTable *LT = DICtx.getLineTableForUnit(CU.get()); in collectObjectSources() local 621 if (LT) { in collectObjectSources() 622 Result &= collectLineTableSources(*LT, CompDir, Sources); in collectObjectSources() 655 DWARFDebugLine::LineTable LT = in collectObjectSources() local 657 Result &= collectLineTableSources(LT, /*CompDir=*/"", Sources); in collectObjectSources()
|
| /freebsd/contrib/one-true-awk/ |
| H A D | awkgram.y | 54 %token <i> AND BOR APPEND EQ GE GT LE LT NE IN 82 %nonassoc APPEND EQ GE GT LE LT NE MATCHOP IN '|' 233 | pattern LT pattern { $$ = op2($2, $1, $3); } 398 | GETLINE var LT term { $$ = op3(GETLINE, $2, itonp($3), $4); } 399 | GETLINE LT term { $$ = op3(GETLINE, NIL, itonp($2), $3); } 498 case LE: case LT: case EQ: case NE: case GT: case GE:
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugLine.cpp | 563 struct LineTable *LT, uint64_t TableOffset, in ParsingState() argument 565 : LineTable(LT), LineTableOffset(TableOffset), ErrorHandler(ErrorHandler) {} in ParsingState() 613 LineTable *LT = &Pos.first->second; in getOrParseLineTable() local 616 LT->parse(DebugLineData, &Offset, Ctx, U, RecoverableErrorHandler)) in getOrParseLineTable() 618 return LT; in getOrParseLineTable() 620 return LT; in getOrParseLineTable() 1604 LineTable LT; in parseNext() local 1605 if (Error Err = LT.parse(DebugLineData, &Offset, Context, U, in parseNext() 1608 moveToNextTable(OldOffset, LT.Prologue); in parseNext() 1609 return LT; in parseNext() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 388 if (auto *LT = dyn_cast<LoadInst>(I)) { in replace() local 389 auto *V = getReplacement(LT->getPointerOperand()); in replace() 391 auto *NewI = new LoadInst(LT->getType(), V, "", LT->isVolatile(), in replace() 392 LT->getAlign(), LT->getOrdering(), in replace() 393 LT->getSyncScopeID()); in replace() 394 NewI->takeName(LT); in replace() 395 copyMetadataForLoad(*NewI, *LT); in replace() 397 IC.InsertNewInstWith(NewI, LT->getIterator()); in replace() 398 IC.replaceInstUsesWith(*LT, NewI); in replace()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVDWARFReader.cpp | 695 if (const DWARFDebugLine::LineTable *LT = in createScopes() local 698 if (LT->hasFileAtIndex(0) && LT->hasFileAtIndex(1)) { in createScopes() 700 LT->Prologue.getFileNameEntry(0); in createScopes() 702 LT->Prologue.getFileNameEntry(1); in createScopes() 711 LT->getFileNameByIndex( in createScopes() 714 LT->getFileNameByIndex( in createScopes()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/ |
| H A D | AArch64BaseInfo.h | 266 LT = 0xb, // Less than Less than, or unordered enumerator 295 case LT: return "lt"; in getCondCodeName() 330 case LT: in getSwappedCondition() 333 return LT; in getSwappedCondition() 359 case LT: return N; // N != V in getNZCVToSatisfyCondCode() 378 case AArch64CC::LT: in isValidCBCond()
|