Home
last modified time | relevance | path

Searched refs:LLVM_LIKELY (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A Dx86_64.h412 if (LLVM_LIKELY(isUInt<32>(Value))) in applyFixup()
420 if (LLVM_LIKELY(isInt<32>(Value))) in applyFixup()
429 if (LLVM_LIKELY(isUInt<16>(Value))) in applyFixup()
438 if (LLVM_LIKELY(isUInt<8>(Value))) in applyFixup()
454 if (LLVM_LIKELY(isInt<32>(Value))) in applyFixup()
469 if (LLVM_LIKELY(isInt<32>(Value))) in applyFixup()
484 if (LLVM_LIKELY(isInt<32>(Value))) in applyFixup()
H A Di386.h226 if (LLVM_LIKELY(isUInt<16>(Value))) in applyFixup()
236 if (LLVM_LIKELY(isInt<16>(Value))) in applyFixup()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DStringMap.cpp99 if (LLVM_LIKELY(!BucketItem)) { in LookupBucketFor()
115 } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) { in LookupBucketFor()
155 if (LLVM_LIKELY(!BucketItem)) in FindKey()
160 } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) { in FindKey()
H A DSmallPtrSet.cpp75 if (LLVM_LIKELY(Array[Bucket] == getEmptyMarker())) in FindBucketFor()
79 if (LLVM_LIKELY(Array[Bucket] == Ptr)) in FindBucketFor()
H A DJSON.cpp546 if (LLVM_LIKELY(C != '\\')) { in parseString()
638 if (LLVM_LIKELY(First < 0xD800 || First >= 0xE000)) { in parseUnicode()
699 if (LLVM_LIKELY(isASCII(S))) in isUTF8()
703 if (LLVM_LIKELY(isLegalUTF8String(&Rest, Data + S.size()))) in isUTF8()
891 if (LLVM_LIKELY(isUTF8(Key))) { in attributeBegin()
H A Dxxhash.cpp255 if (LLVM_LIKELY(len > 8)) in XXH3_len_0to16_64b()
257 if (LLVM_LIKELY(len >= 4)) in XXH3_len_0to16_64b()
H A DDynamicLibrary.cpp52 if (LLVM_LIKELY(!IsProcess)) { in AddLibrary()
H A DBinaryStreamReader.cpp83 if (LLVM_LIKELY(Pos != StringRef::npos)) { in readCString()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h408 if (LLVM_LIKELY(Type == T_Null)) in getAsNull()
413 if (LLVM_LIKELY(Type == T_Boolean)) in getAsBoolean()
418 if (LLVM_LIKELY(Type == T_Double)) in getAsNumber()
420 if (LLVM_LIKELY(Type == T_Integer)) in getAsNumber()
422 if (LLVM_LIKELY(Type == T_UINT64)) in getAsNumber()
428 if (LLVM_LIKELY(Type == T_Integer)) in getAsInteger()
430 if (LLVM_LIKELY(Type == T_UINT64)) { in getAsInteger()
436 if (LLVM_LIKELY(Type == T_Double)) { in getAsInteger()
438 if (LLVM_LIKELY(std::modf(D, &D) == 0.0 && in getAsInteger()
458 if (LLVM_LIKELY(Type == T_StringRef)) in getAsString()
[all …]
H A DCompiler.h237 #define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true) macro
240 #define LLVM_LIKELY(EXPR) (EXPR) macro
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A Daarch32.cpp443 return LLVM_LIKELY(ArmCfg.J1J2BranchEncoding) in readAddendThumb()
484 if (LLVM_LIKELY(G.getEndianness() == endianness::little)) in applyFixupData()
494 if (LLVM_LIKELY(G.getEndianness() == endianness::little)) in applyFixupData()
504 if (LLVM_LIKELY(G.getEndianness() == endianness::little)) { in applyFixupData()
563 if (LLVM_LIKELY(TargetIsThumb)) { in applyFixupArm()
618 if (LLVM_LIKELY(ArmCfg.J1J2BranchEncoding)) { in applyFixupThumb()
639 if (LLVM_LIKELY(TargetIsArm)) { in applyFixupThumb()
651 if (LLVM_LIKELY(ArmCfg.J1J2BranchEncoding)) { in applyFixupThumb()
H A DJITLinkMemoryManager.cpp34 if (LLVM_LIKELY(!B->isZeroFill())) in BasicLayout()
H A DELF_ppc64.cpp114 if (LLVM_LIKELY(TOCSymbol == nullptr)) { in createELFGOTHeader()
/freebsd-14.2/contrib/llvm-project/lldb/source/Utility/
H A DLLDBAssert.cpp36 if (LLVM_LIKELY(expression)) in lldb_assert()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DHeaderMap.cpp223 if (LLVM_LIKELY(Prefix && Suffix)) { in lookupFilename()
246 if (LLVM_LIKELY(Key && Prefix && Suffix)) { in reverseLookupFilename()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DLazyAtomicPointer.h116 if (LLVM_LIKELY(Raw == getNull() && in loadOrGenerate()
H A DDenseMap.h658 if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) { in LookupBucketFor()
665 if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) { in LookupBucketFor()
H A DSmallVector.h189 if (LLVM_LIKELY(!isReferenceToStorage(Elt))) in isSafeToReferenceAfterResize()
245 if (LLVM_LIKELY(NewSize <= This->capacity())) in reserveForParamAndGetAddressImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeStreamMerger.cpp140 if (LLVM_LIKELY(remapIndexSimple(Idx, Map))) in remapIndex()
364 if (LLVM_LIKELY(UseGlobalHashes)) { in remapType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DGlobalsStream.cpp63 if (LLVM_LIKELY(uint32_t(CompressedBucketIndex) < LastBucketIndex)) { in findRecordsByName()
/freebsd-14.2/contrib/llvm-project/lldb/source/Target/
H A DStatistics.cpp26 if (LLVM_LIKELY(llvm::json::isUTF8(str))) in EmplaceSafeString()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMachOPlatform.cpp1356 shared::AllocActions &allocActions = LLVM_LIKELY(!InBootstrapPhase) in registerObjectPlatformSections()
1655 auto &SymTab = LLVM_LIKELY(!InBootstrapPhase) ? LocalSymTab in addSymbolTableRegistration()
1666 shared::AllocActions &allocActions = LLVM_LIKELY(!InBootstrapPhase) in addSymbolTableRegistration()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp404 if (LLVM_LIKELY(Value.V.is<FileEntry *>())) in getVirtualFileRef()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinker.cpp1731 if (!Info.InDebugMap && LLVM_LIKELY(!Update)) in cloneDIE()
1741 LLVM_LIKELY(!Update)) in cloneDIE()
2725 if (LLVM_LIKELY(!Options.Update) && in link()
2868 LLVM_LIKELY(!Options.Update)) in link()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegisterBankInfo.cpp307 if (LLVM_LIKELY(NumBreakDowns == 1)) in hashValueMapping()

12