Home
last modified time | relevance | path

Searched refs:LoBit (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp228 unsigned LoBit = BeginVarBit - N + 1; in addCodeToMergeInOperand() local
229 unsigned HiBit = LoBit + N; in addCodeToMergeInOperand()
235 ExtractStr = "op.extractBits(" + itostr(HiBit - LoBit) + ", " + in addCodeToMergeInOperand()
236 itostr(LoBit) + ")"; in addCodeToMergeInOperand()
240 ExtractStr = "op.extractBitsAsZExtValue(" + itostr(HiBit - LoBit) + in addCodeToMergeInOperand()
241 ", " + itostr(LoBit) + ")"; in addCodeToMergeInOperand()
243 itostr(LoInstBit) + ", " + itostr(HiBit - LoBit) + ");\n"; in addCodeToMergeInOperand()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DVarLenCodeEmitterGen.cpp192 *LoBit = DI->getArg(2); in buildRec() local
194 !isa<IntInit>(LoBit)) in buildRec()
198 LoBitVal = cast<IntInit>(LoBit)->getValue(); in buildRec()
469 unsigned LoBit = 0U; in getInstructionCaseForEncoding() local
476 LoBit = static_cast<unsigned>(cast<IntInit>(DV->getArg(2))->getValue()); in getInstructionCaseForEncoding()
499 << utostr(LoBit) << ")" in getInstructionCaseForEncoding()
502 HighScratchAccess = std::max(HighScratchAccess, NumBits + LoBit); in getInstructionCaseForEncoding()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h1417 void clearBits(unsigned LoBit, unsigned HiBit) { in clearBits() argument
1419 assert(LoBit <= HiBit && "LoBit greater than HiBit"); in clearBits()
1420 if (LoBit == HiBit) in clearBits()
1423 uint64_t Mask = WORDTYPE_MAX >> (APINT_BITS_PER_WORD - (HiBit - LoBit)); in clearBits()
1424 Mask = ~(Mask << LoBit); in clearBits()
1430 clearBitsSlowCase(LoBit, HiBit); in clearBits()
2083 LLVM_ABI void clearBitsSlowCase(unsigned LoBit, unsigned HiBit);
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp339 void APInt::clearBitsSlowCase(unsigned LoBit, unsigned HiBit) { in clearBitsSlowCase() argument
340 unsigned LoWord = whichWord(LoBit); in clearBitsSlowCase()
344 uint64_t LoMask = ~(WORDTYPE_MAX << whichBit(LoBit)); in clearBitsSlowCase()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp7055 Value *LoBit = Builder.CreateTrunc( in switchToLookupTable() local
7057 Builder.CreateCondBr(LoBit, LookupBB, SI->getDefaultDest()); in switchToLookupTable()