|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Support/Casting.h 58 return To::classof(&Val);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
142 return isa_impl_wrap<X, const Y,
172 using ret_type = To *; // Pointer arg case, return Ty*
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
include/llvm/TableGen/Record.h 489 BitInit(const BitInit &) = delete;
490 BitInit &operator=(BitInit &) = delete;
490 BitInit &operator=(BitInit &) = delete;
496 static BitInit *get(bool V);
589 return BitInit::get((Value & (1ULL << Bit)) != 0);
lib/TableGen/JSONBackend.cpp 51 } else if (auto *Bit = dyn_cast<BitInit>(&I)) {
lib/TableGen/Record.cpp 311 BitInit *BitInit::get(bool V) {
312 static BitInit True(true);
313 static BitInit False(false);
381 if (auto *Bit = dyn_cast<BitInit>(getBit(i)))
381 if (auto *Bit = dyn_cast<BitInit>(getBit(i)))
485 return BitInit::get(Val != 0);
496 NewBits[i] = BitInit::get(Value & ((i < 64) ? (1LL << i) : 0));
512 NewBits[i] = BitInit::get(Value & (INT64_C(1) << Bits[i]));
962 return BitInit::get(Result);
972 return BitInit::get(getOpcode() == EQ ? Equal : !Equal);
2301 if (BitInit *BI = dyn_cast<BitInit>(R->getValue()))
2301 if (BitInit *BI = dyn_cast<BitInit>(R->getValue()))
2318 if (BitInit *BI = dyn_cast<BitInit>(R->getValue()))
2318 if (BitInit *BI = dyn_cast<BitInit>(R->getValue()))
lib/TableGen/TGParser.cpp 1464 if (isa<BitInit>(MHS))
1471 if (isa<BitInit>(RHS))
1726 if (isa<BitInit>(V))
1788 Bits[i] = BitInit::get(BinaryVal.first & (1LL << i));
tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp 66 const auto *Bit = dyn_cast<BitInit>(B->getBit(i));
66 const auto *Bit = dyn_cast<BitInit>(B->getBit(i));
utils/TableGen/AsmMatcherEmitter.cpp 1415 if (BitInit *BI = dyn_cast<BitInit>(IsOptional))
1415 if (BitInit *BI = dyn_cast<BitInit>(IsOptional))
utils/TableGen/CodeEmitterGen.cpp 379 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(e - i - 1)))
379 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(e - i - 1)))
utils/TableGen/CodeGenDAGPatterns.cpp 2734 if (isa<IntInit>(TheInit) || isa<BitInit>(TheInit)) {
2737 if (isa<BitInit>(TheInit))
utils/TableGen/CodeGenRegisters.cpp 705 RV.setValue(BitInit::get(true));
utils/TableGen/CodeGenSchedule.cpp 1817 BitInit *Val = cast<BitInit>(MoveElimInfo->getElement(I));
1817 BitInit *Val = cast<BitInit>(MoveElimInfo->getElement(I));
utils/TableGen/DFAEmitter.cpp 332 if (auto *Bit = dyn_cast<BitInit>(NewStateInit->getBit(I))) {
332 if (auto *Bit = dyn_cast<BitInit>(NewStateInit->getBit(I))) {
utils/TableGen/FixedLenDecoderEmitter.cpp 193 if (BitInit *bit = dyn_cast<BitInit>(bits.getBit(index)))
193 if (BitInit *bit = dyn_cast<BitInit>(bits.getBit(index)))
1971 BitInit *HasCompleteDecoderBit = HasCompleteDecoderVal ?
1972 dyn_cast<BitInit>(HasCompleteDecoderVal->getValue()) : nullptr;
2030 BitInit *HasCompleteDecoderBit = HasCompleteDecoderVal ?
2031 dyn_cast<BitInit>(HasCompleteDecoderVal->getValue()) : nullptr;
2042 if (const BitInit *OpBit = dyn_cast<BitInit>(OpBits->getBit(I)))
2042 if (const BitInit *OpBit = dyn_cast<BitInit>(OpBits->getBit(I)))
utils/TableGen/InstrInfoEmitter.cpp 713 if (const auto *Bit = dyn_cast<BitInit>(TSF->getBit(i)))
713 if (const auto *Bit = dyn_cast<BitInit>(TSF->getBit(i)))
utils/TableGen/RegisterInfoEmitter.cpp 1099 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(b)))
1099 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(b)))
utils/TableGen/SearchableTableEmitter.cpp 114 else if (BitInit *BI = dyn_cast<BitInit>(I))
114 else if (BitInit *BI = dyn_cast<BitInit>(I))
utils/TableGen/X86EVEX2VEXTablesEmitter.cpp 75 if (BitInit *Bit = dyn_cast<BitInit>(B->getBit(i)))
75 if (BitInit *Bit = dyn_cast<BitInit>(B->getBit(i)))
utils/TableGen/X86FoldTablesEmitter.cpp 197 BitInit *Bit = cast<BitInit>(B->getBit(i));
197 BitInit *Bit = cast<BitInit>(B->getBit(i));
209 BitInit *Bit1 = cast<BitInit>(B1->getBit(i));
209 BitInit *Bit1 = cast<BitInit>(B1->getBit(i));
210 BitInit *Bit2 = cast<BitInit>(B2->getBit(i));
210 BitInit *Bit2 = cast<BitInit>(B2->getBit(i));
utils/TableGen/X86RecognizableInstr.cpp 42 if (cast<BitInit>(init.getBit(index))->getValue())