|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/lib/Target/AMDGPU/AMDGPUGenDAGISel.inc79510 unsigned Reg = cast<RegisterSDNode>(Use->getOperand(1))->getReg();
gen/lib/Target/ARM/ARMGenDAGISel.inc54092 ConstantSDNode *ConstVal = cast<ConstantSDNode>(N->getOperand(0));
54654 ConstantSDNode *ConstVal = cast<ConstantSDNode>(N->getOperand(0));
gen/lib/Target/Mips/MipsGenDAGISel.inc30398 return cast<VTSDNode>(N->getOperand(1))->getVT().bitsLT(MVT::i32);
gen/lib/Target/PowerPC/PPCGenDAGISel.inc44451 return cast<ConstantSDNode>(N->getOperand(1))->getZExtValue() == 0;
44459 return cast<ConstantSDNode>(N->getOperand(1))->getZExtValue() == 1;
gen/lib/Target/RISCV/RISCVGenDAGISel.inc13808 return cast<VTSDNode>(N->getOperand(1))->getVT() == MVT::i32;
gen/lib/Target/SystemZ/SystemZGenDAGISel.inc30264 unsigned Type = cast<ConstantSDNode>(N->getOperand(2))->getZExtValue();
30273 unsigned Type = cast<ConstantSDNode>(N->getOperand(2))->getZExtValue();
gen/lib/Target/X86/X86GenDAGISel.inc254047 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(2))->get();
254057 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(2))->get();
254534 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(2))->get();
254544 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(2))->get();
254787 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(2))->get();
254795 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(2))->get();
include/llvm/Analysis/CFGPrinter.h 160 MDString *MDName = cast<MDString>(WeightsNode->getOperand(0));
include/llvm/CodeGen/SelectionDAGNodes.h 1607 return cast<ConstantSDNode>(getOperand(Num))->getZExtValue();
1611 return cast<ConstantSDNode>(getOperand(Num))->getAPIntValue();
1779 return cast<FrameIndexSDNode>(getOperand(1))->getIndex();
include/llvm/IR/Instructions.h 2850 return cast<Constant>(getOperandList()[Idx]);
3841 return cast<BasicBlock>(Op<NormalDestOpEndIdx>());
3844 return cast<BasicBlock>(Op<UnwindDestOpEndIdx>());
4079 return cast<BasicBlock>(*(&Op<-1>() - getNumIndirectDests() - 1));
4465 return cast<CatchSwitchInst>(Op<-1>());
4517 CatchPadInst *getCatchPad() const { return cast<CatchPadInst>(Op<0>()); }
4523 BasicBlock *getSuccessor() const { return cast<BasicBlock>(Op<1>()); }
4612 return cast<CleanupPadInst>(Op<0>());
4622 return hasUnwindDest() ? cast<BasicBlock>(Op<1>()) : nullptr;
include/llvm/IR/Metadata.h 549 return cast<X>(cast<ConstantAsMetadata>(MD)->getValue());
include/llvm/IR/ValueHandle.h 341 return cast<ValueTy>(InnerHandle);
include/llvm/Support/Casting.h 290 return cast<X>(Val);
333 return isa<X>(Val) ? cast<X>(Val) : nullptr;
354 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
lib/Analysis/MemorySSA.cpp 2160 return locallyDominates(Dominator, cast<MemoryAccess>(Dominatee));
2205 MemoryAccess *MA = cast<MemoryAccess>(Op);
lib/Analysis/ModuleSummaryAnalysis.cpp 559 cast<ConstantAsMetadata>(Type->getOperand(0))->getValue())
lib/Analysis/TypeBasedAliasAnalysis.cpp 165 return TBAANodeImpl(cast<MDNodeTy>(Node->getOperand(0)));
297 auto *TypeNode = cast<MDNode>(getNode()->getOperand(OpIndex));
lib/Bitcode/Reader/BitcodeReader.cpp 2928 LinkerOpts->addOperand(cast<MDNode>(MDOptions));
lib/Bitcode/Writer/ValueEnumerator.cpp 631 auto *Op = cast<MDNode>(*I);
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 2058 const MDString *S = cast<MDString>(N->getOperand(0));
2080 const MDString *S = cast<MDString>(N->getOperand(0));
lib/CodeGen/GlobalISel/IRTranslator.cpp 1641 MIB.addFPImm(cast<ConstantFP>(Arg.value()));
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 2015 ISD::CondCode CC = cast<CondCodeSDNode>(SetCC->getOperand(2))->get();
2473 VTSDNode *TN = cast<VTSDNode>(N1.getOperand(1));
3127 VTSDNode *TN = cast<VTSDNode>(N1.getOperand(1));
4817 cast<VTSDNode>(Op.getOperand(1))->getVT() :
5133 LoadSDNode *Load = cast<LoadSDNode>( (N0.getOpcode() == ISD::LOAD) ?
5234 ? cast<LoadSDNode>(N0.getOperand(0)) : cast<LoadSDNode>(N0);
8196 ISD::CondCode CC = cast<CondCodeSDNode>(Cond.getOperand(2))->get();
8452 ISD::CondCode CC = cast<CondCodeSDNode>(N0.getOperand(2))->get();
8539 BottomHalf = cast<ConstantSDNode>(Cond.getOperand(i));
8551 TopHalf = cast<ConstantSDNode>(Cond.getOperand(i));
8699 ISD::CondCode CC = cast<CondCodeSDNode>(N0.getOperand(2))->get();
8846 cast<CondCodeSDNode>(N->getOperand(2))->get(), SDLoc(N), !PreferSetCC);
8989 ISD::CondCode CC = cast<CondCodeSDNode>(User->getOperand(2))->get();
9181 LoadSDNode *Load = cast<LoadSDNode>(N1.getOperand(0));
9210 APInt Mask = cast<ConstantSDNode>(N0.getOperand(1))->getAPIntValue();
9391 ISD::CondCode CC = cast<CondCodeSDNode>(SetCC.getOperand(2))->get();
9501 LoadSDNode *LN00 = cast<LoadSDNode>(N0.getOperand(0));
9513 APInt Mask = cast<ConstantSDNode>(N0.getOperand(1))->getAPIntValue();
9545 ISD::CondCode CC = cast<CondCodeSDNode>(N0.getOperand(2))->get();
9657 cast<CondCodeSDNode>(N.getOperand(2))->get() != ISD::SETNE)
9782 APInt Mask = cast<ConstantSDNode>(N0.getOperand(1))->getAPIntValue();
9814 LoadSDNode *LN00 = cast<LoadSDNode>(N0.getOperand(0));
9822 auto *AndC = cast<ConstantSDNode>(N0.getOperand(1));
9837 APInt Mask = cast<ConstantSDNode>(N0.getOperand(1))->getAPIntValue();
9915 cast<CondCodeSDNode>(N0.getOperand(2))->get(), true))
9998 APInt Mask = cast<ConstantSDNode>(N0.getOperand(1))->getAPIntValue();
10076 cast<CondCodeSDNode>(N0.getOperand(2))->get());
10085 cast<CondCodeSDNode>(N0.getOperand(2))->get());
10094 cast<CondCodeSDNode>(N0.getOperand(2))->get(), true))
10112 AssertVT == cast<VTSDNode>(N0.getOperand(1))->getVT())
10123 EVT BigA_AssertVT = cast<VTSDNode>(BigA.getOperand(1))->getVT();
10143 EVT BigA_AssertVT = cast<VTSDNode>(BigA.getOperand(1))->getVT();
10183 ExtVT = cast<VTSDNode>(N->getOperand(1))->getVT();
10261 cast<ConstantSDNode>(Mask->getOperand(1))->getAPIntValue();
10392 EVT.bitsLT(cast<VTSDNode>(N0.getOperand(1))->getVT()))
11301 APInt OpVal = cast<ConstantSDNode>(Op)->
12285 cast<ConstantFPSDNode>(Cond.getOperand(1))->isExactlyValue(0.0)) {
12286 ISD::CondCode CC = cast<CondCodeSDNode>(Cond.getOperand(2))->get();
13424 CondCodeSDNode *CC = cast<CondCodeSDNode>(N->getOperand(1));
13690 cast<ConstantSDNode>(OtherUses[i]->getOperand(OffsetIdx));
14068 cast<ConstantSDNode>(LD->getOperand(2))->isOpaque();
14714 LoadSDNode *LD = cast<LoadSDNode>(V->getOperand(0));
14726 uint64_t NotMask = ~cast<ConstantSDNode>(V->getOperand(1))->getSExtValue();
16525 auto *ExtrIndex = cast<ConstantSDNode>(InsertVal.getOperand(1));
16943 auto *CstElt = cast<ConstantSDNode>(Use->getOperand(1));
17007 LN0 = cast<LoadSDNode>(VecOp.getOperand(0));
19685 cast<CondCodeSDNode>(N0.getOperand(2))->get());
19729 CC = cast<CondCodeSDNode>(TheSelect->getOperand(4))->get();
19736 CC = cast<CondCodeSDNode>(Cmp.getOperand(2))->get();
lib/CodeGen/SelectionDAG/InstrEmitter.cpp 116 unsigned DestReg = cast<RegisterSDNode>(User->getOperand(1))->getReg();
221 VRBase = cast<RegisterSDNode>(Node->getOperand(i-NumResults))->getReg();
231 unsigned Reg = cast<RegisterSDNode>(User->getOperand(1))->getReg();
486 unsigned DestReg = cast<RegisterSDNode>(User->getOperand(1))->getReg();
498 unsigned SubIdx = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue();
613 unsigned DstRCIdx = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue();
631 unsigned DstRCIdx = cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue();
947 UsedRegs.push_back(cast<RegisterSDNode>(F->getOperand(1))->getReg());
994 unsigned DestReg = cast<RegisterSDNode>(Node->getOperand(1))->getReg();
1018 unsigned SrcReg = cast<RegisterSDNode>(Node->getOperand(1))->getReg();
1065 cast<ConstantSDNode>(Node->getOperand(InlineAsm::Op_ExtraInfo))->
1078 cast<ConstantSDNode>(Node->getOperand(i))->getZExtValue();
1089 unsigned Reg = cast<RegisterSDNode>(Node->getOperand(i))->getReg();
1101 unsigned Reg = cast<RegisterSDNode>(Node->getOperand(i))->getReg();
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp 1017 EVT InnerType = cast<VTSDNode>(Node->getOperand(1))->getVT();
1033 cast<CondCodeSDNode>(Node->getOperand(CCOperand))->get();
2854 EVT ExtraVT = cast<VTSDNode>(Node->getOperand(1))->getVT();
3032 if (cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue()) {
3428 cast<CondCodeSDNode>(Tmp1.getOperand(2))->get());
3494 cast<ConstantSDNode>(Tmp2.getOperand(1))->getZExtValue() == 1))
4323 cast<CondCodeSDNode>(Node->getOperand(2))->get();
4336 cast<CondCodeSDNode>(Node->getOperand(1))->get();
lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp 916 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(1))->get();
972 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(4))->get();
996 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(2))->get();
1710 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(1))->get();
1770 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(4))->get();
1788 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(2))->get();
1995 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(2))->get();
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp 1313 PromoteSetCCOperands(LHS, RHS, cast<CondCodeSDNode>(N->getOperand(1))->get());
1431 PromoteSetCCOperands(LHS, RHS, cast<CondCodeSDNode>(N->getOperand(4))->get());
1443 PromoteSetCCOperands(LHS, RHS, cast<CondCodeSDNode>(N->getOperand(2))->get());
2404 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT();
2426 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT();
3294 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT();
3792 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(1))->get();
3810 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(4))->get();
3828 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(2))->get();
lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp 196 SDValue Part = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue() ?
403 return cast<ConstantSDNode>(N->getOperand(1))->getZExtValue() ? Hi : Lo;
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp 951 EVT OrigTy = cast<VTSDNode>(Op->getOperand(1))->getVT();
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp 401 EVT ExtVT = cast<VTSDNode>(N->getOperand(1))->getVT().getVectorElementType();
1253 DAG.GetSplitDestVTs(cast<VTSDNode>(N->getOperand(1))->getVT());
3477 cast<VTSDNode>(N->getOperand(1))->getVT()
lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp 491 cast<ConstantSDNode>(Node->getOperand(i))->getZExtValue();
500 unsigned Reg = cast<RegisterSDNode>(Node->getOperand(i))->getReg();
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp 324 unsigned Reg = cast<RegisterSDNode>(Node->getOperand(1))->getReg();
333 unsigned DstRCIdx = cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue();
1371 cast<ConstantSDNode>(Node->getOperand(i))->getZExtValue();
1380 unsigned Reg = cast<RegisterSDNode>(Node->getOperand(i))->getReg();
1421 unsigned Reg = cast<RegisterSDNode>(OptionalDef)->getReg();
2364 cast<RegisterSDNode>(PredSU->getNode()->getOperand(1))->getReg();
2385 cast<RegisterSDNode>(SuccSU->getNode()->getOperand(1))->getReg();
2956 cast<RegisterSDNode>(N->getOperand(1))->getReg()))
3003 cast<RegisterSDNode>(N->getOperand(1))->getReg()))
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp 117 unsigned Reg = cast<RegisterSDNode>(User->getOperand(1))->getReg();
123 cast<RegisterSDNode>(Def->getOperand(1))->getReg() == Reg) {
658 unsigned Reg = cast<RegisterSDNode>(Use->getOperand(1))->getReg();
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 1899 const Value *V = cast<SrcValueSDNode>(Node->getOperand(2))->getValue();
1935 const Value *VD = cast<SrcValueSDNode>(Node->getOperand(3))->getValue();
1936 const Value *VS = cast<SrcValueSDNode>(Node->getOperand(4))->getValue();
2860 EVT EVT = cast<VTSDNode>(Op.getOperand(1))->getVT();
3022 EVT VT = cast<VTSDNode>(Op.getOperand(1))->getVT();
3434 Tmp = cast<VTSDNode>(Op.getOperand(1))->getVT().getSizeInBits();
3437 Tmp = cast<VTSDNode>(Op.getOperand(1))->getVT().getSizeInBits();
3544 Tmp = cast<VTSDNode>(Op.getOperand(1))->getVT().getScalarSizeInBits();
4171 cast<ConstantSDNode>(Ops[i].getOperand(1))->getAPIntValue() != i) {
5726 G = cast<GlobalAddressSDNode>(Src.getOperand(0));
5727 SrcDelta = cast<ConstantSDNode>(Src.getOperand(1))->getZExtValue();
6672 int FI = cast<FrameIndexSDNode>(Ptr.getOperand(0))->getIndex();
6675 Offset + cast<ConstantSDNode>(Ptr.getOperand(1))->getSExtValue());
7053 cast<ConstantSDNode>(N->getScale())->getAPIntValue().isPowerOf2() &&
7091 cast<ConstantSDNode>(N->getScale())->getAPIntValue().isPowerOf2() &&
9280 FrameIdx = cast<FrameIndexSDNode>(Ptr.getOperand(0))->getIndex();
lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp 258 Offset += cast<ConstantSDNode>(Index->getOperand(1))->getSExtValue();
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 7992 cast<ConstantSDNode>(AsmNodeOperands[CurOp])->getZExtValue();
9372 cast<RegisterSDNode>(Op.getOperand(1))->getReg() != Reg) &&
9872 unsigned Reg = cast<RegisterSDNode>(Res.getOperand(1))->getReg();
9884 unsigned Reg = cast<RegisterSDNode>(Res.getOperand(1))->getReg();
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp 145 unsigned IID = cast<ConstantSDNode>(getOperand(OpNo))->getZExtValue();
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 761 unsigned DestReg = cast<RegisterSDNode>(N->getOperand(1))->getReg();
3654 cast<ConstantSDNode>(N->getOperand(HasInputChain))->getZExtValue();
lib/CodeGen/SelectionDAG/TargetLowering.cpp 92 unsigned ArgReg = cast<RegisterSDNode>(Value->getOperand(1))->getReg();
698 EVT ExVT = cast<VTSDNode>(Op.getOperand(1))->getVT();
1248 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
1543 EVT ExVT = cast<VTSDNode>(Op.getOperand(1))->getVT();
1789 EVT ZVT = cast<VTSDNode>(Op.getOperand(1))->getVT();
3225 cast<CondCodeSDNode>(TopSetCC.getOperand(2))->get(),
3244 LoadSDNode *Lod = cast<LoadSDNode>(N0.getOperand(0));
3350 EVT ExtSrcTy = cast<VTSDNode>(N0.getOperand(1))->getVT();
3390 ISD::CondCode CC = cast<CondCodeSDNode>(N0.getOperand(2))->get();
3403 cast<ConstantSDNode>(N0.getOperand(1))->isOne()) {
3444 cast<ConstantSDNode>(Op0.getOperand(1))->isOne()) {
3460 cast<VTSDNode>(Op0.getOperand(1))->getVT() == MVT::i1)
6862 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
lib/CodeGen/TargetLoweringObjectFileImpl.cpp 280 Streamer.EmitBytes(cast<MDString>(Option)->getString());
294 cast<MDString>(cast<MDNode>(Operand)->getOperand(0))->getString());
332 auto V = cast<ValueAsMetadata>(MDO);
338 MDNode *E = cast<MDNode>(Edge);
345 uint64_t Count = cast<ConstantAsMetadata>(E->getOperand(2))
891 StrOptions.push_back(cast<MDString>(Piece)->getString());
1456 Directive.append(cast<MDString>(Piece)->getString());
lib/IR/AbstractCallSite.cpp 85 auto *CBCalleeIdxAsCM = cast<ConstantAsMetadata>(OpMD->getOperand(0));
lib/IR/BasicBlock.cpp 483 MDString *MDName = cast<MDString>(MDIrrLoopHeader->getOperand(0));
lib/IR/DebugLoc.cpp 46 return cast<DILocation>(Loc)->getInlinedAtScope();
lib/IR/Function.cpp 1467 return cast<Constant>(Op<0>());
1477 return cast<Constant>(Op<1>());
1487 return cast<Constant>(Op<2>());
1589 assert(cast<MDString>(MD->getOperand(0))
1593 return cast<MDString>(MD->getOperand(1))->getString();
lib/IR/Instruction.cpp 697 MDString *MDName = cast<MDString>(ProfileData->getOperand(0));
lib/IR/MDBuilder.cpp 129 auto *NewCBCalleeIdxAsCM = cast<ConstantAsMetadata>(NewCB->getOperand(0));
279 MDNode *BaseType = cast<MDNode>(Tag->getOperand(0));
280 MDNode *AccessType = cast<MDNode>(Tag->getOperand(1));
lib/IR/Metadata.cpp 1457 cast<ConstantAsMetadata>(MD.second->getOperand(0))->getValue());
1510 cast<ConstantAsMetadata>(MD->getOperand(0))->getValue())
lib/IR/Module.cpp 301 MDString *Key = cast<MDString>(Flag->getOperand(1));
lib/IR/Verifier.cpp 1371 const MDString *Flag = cast<MDString>(Requirement->getOperand(0));
1478 for (const MDOperand &MDO : cast<MDNode>(Op->getOperand(2))->operands())
1860 MDString *MDS = cast<MDString>(MD->getOperand(0));
4027 MDString *MDS = cast<MDString>(MD->getOperand(0));
5385 return cast<MDNode>(BaseNode->getOperand(1));
5404 return cast<MDNode>(BaseNode->getOperand(PrevIdx));
5412 return cast<MDNode>(BaseNode->getOperand(LastIdx));
lib/LTO/LTOModule.cpp 634 MDString *MDOption = cast<MDString>(MDOptions->getOperand(ii));
lib/Linker/IRMover.cpp 1214 MDString *ID = cast<MDString>(Op->getOperand(1));
1217 Requirements.insert(cast<MDNode>(Op->getOperand(2)));
1229 MDString *ID = cast<MDString>(SrcOp->getOperand(1));
1239 if (Requirements.insert(cast<MDNode>(SrcOp->getOperand(2)))) {
1330 MDNode *DstValue = cast<MDNode>(DstOp->getOperand(2));
1331 MDNode *SrcValue = cast<MDNode>(SrcOp->getOperand(2));
1342 MDNode *DstValue = cast<MDNode>(DstOp->getOperand(2));
1343 MDNode *SrcValue = cast<MDNode>(SrcOp->getOperand(2));
1357 MDString *Flag = cast<MDString>(Requirement->getOperand(0));
lib/Object/IRSymtab.cpp 141 COFFLinkerOptsOS << " " << cast<MDString>(MDOption)->getString();
151 cast<MDString>(cast<MDNode>(MDOptions)->getOperand(0))->getString();
lib/ProfileData/InstrProf.cpp 266 StringRef S = cast<MDString>(MD->getOperand(0))->getString();
991 MDString *Tag = cast<MDString>(MD->getOperand(0));
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp 456 SrcVT = cast<VTSDNode>(N.getOperand(1))->getVT();
1217 ConstantSDNode *OffsetOp = cast<ConstantSDNode>(LD->getOffset());
1395 cast<ConstantSDNode>(N->getOperand(NumVecs + 2))->getZExtValue();
1435 cast<ConstantSDNode>(N->getOperand(NumVecs + 1))->getZExtValue();
1487 cast<ConstantSDNode>(N->getOperand(NumVecs + 2))->getZExtValue();
1519 cast<ConstantSDNode>(N->getOperand(NumVecs + 1))->getZExtValue();
1648 unsigned Width = cast<VTSDNode>(N->getOperand(1))->getVT().getSizeInBits();
2744 uint64_t Immed = cast<ConstantSDNode>(N->getOperand(2))->getZExtValue();
2827 cast<ConstantSDNode>(IRG_SP->getOperand(1))->getZExtValue() !=
2834 int FI = cast<FrameIndexSDNode>(N->getOperand(1))->getIndex();
2837 int TagOffset = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue();
2857 int TagOffset = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue();
2971 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue();
3315 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue();
3361 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue();
lib/Target/AArch64/AArch64ISelLowering.cpp 1075 ConstantSDNode *CN = cast<ConstantSDNode>(Op->getOperand(1));
1082 EVT VT = cast<MemIntrinsicSDNode>(Op)->getMemoryVT();
1092 unsigned IntNo = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
1818 ISD::CondCode CC = cast<CondCodeSDNode>(Val->getOperand(2))->get();
2271 ISD::CondCode CC = cast<CondCodeSDNode>(Sel.getOperand(4))->get();
2381 unsigned IsWrite = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue();
2382 unsigned Locality = cast<ConstantSDNode>(Op.getOperand(3))->getZExtValue();
2383 unsigned IsData = cast<ConstantSDNode>(Op.getOperand(4))->getZExtValue();
2689 ConstantSDNode *C = cast<ConstantSDNode>(N->getOperand(i));
2821 unsigned IntNo = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
4678 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(1))->get();
4950 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
5206 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(4))->get();
5244 CC = cast<CondCodeSDNode>(CCVal->getOperand(2))->get();
5322 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
5337 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
5353 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
5431 const Value *DestSV = cast<SrcValueSDNode>(Op.getOperand(3))->getValue();
5432 const Value *SrcSV = cast<SrcValueSDNode>(Op.getOperand(4))->getValue();
5444 const Value *V = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
5513 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
5579 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
6307 unsigned EltNo = cast<ConstantSDNode>(V.getOperand(1))->getZExtValue();
6421 int EltNo = cast<ConstantSDNode>(Entry.getOperand(1))->getSExtValue();
6962 Lane += cast<ConstantSDNode>(V1.getOperand(1))->getZExtValue();
7351 unsigned IID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
8147 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
8322 unsigned Align = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue();
9385 ConstantSDNode *C = cast<ConstantSDNode>(N->getOperand(1));
9930 uint64_t idx = cast<ConstantSDNode>(Op0->getOperand(1))->getZExtValue();
10153 return cast<ConstantSDNode>(N.getOperand(1))->getAPIntValue() ==
10195 SetCCInfo.Info.Generic.CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
10210 cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue());
10646 BaseOffset = cast<ConstantSDNode>(BasePtr->getOperand(1))->getSExtValue();
11037 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
11157 VTSDNode *TypeNode = cast<VTSDNode>(V.getNode()->getOperand(1));
11166 VTSDNode *TypeNode = cast<VTSDNode>(V.getNode()->getOperand(1));
11325 unsigned CC = cast<ConstantSDNode>(N->getOperand(CCIndex))->getSExtValue();
11537 unsigned Bit = cast<ConstantSDNode>(N->getOperand(2))->getZExtValue();
11585 cast<CondCodeSDNode>(N0.getOperand(2))->get());
11778 switch (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()) {
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp 262 Printf.push_back(cast<MDString>(Op->getOperand(0))->getString());
292 cast<ValueAsMetadata>(Node->getOperand(0))->getType(),
316 Name = cast<MDString>(Node->getOperand(ArgNo))->getString();
323 TypeName = cast<MDString>(Node->getOperand(ArgNo))->getString();
328 BaseTypeName = cast<MDString>(Node->getOperand(ArgNo))->getString();
337 AccQual = cast<MDString>(Node->getOperand(ArgNo))->getString();
343 TypeQual = cast<MDString>(Node->getOperand(ArgNo))->getString();
668 cast<MDString>(Op->getOperand(0))->getString(), /*Copy=*/true));
701 cast<ValueAsMetadata>(Node->getOperand(0))->getType(),
733 Name = cast<MDString>(Node->getOperand(ArgNo))->getString();
740 TypeName = cast<MDString>(Node->getOperand(ArgNo))->getString();
745 BaseTypeName = cast<MDString>(Node->getOperand(ArgNo))->getString();
754 AccQual = cast<MDString>(Node->getOperand(ArgNo))->getString();
760 TypeQual = cast<MDString>(Node->getOperand(ArgNo))->getString();
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp 549 unsigned Reg = cast<RegisterSDNode>(N->getOperand(1))->getReg();
577 unsigned RCID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
1349 C1 = cast<ConstantSDNode>(Addr.getOperand(1));
2001 unsigned Width = cast<VTSDNode>(N->getOperand(1))->getVT().getSizeInBits();
2030 ISD::CondCode CC = cast<CondCodeSDNode>(Cond.getOperand(2))->get();
2324 unsigned IntrID = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
2339 unsigned IntrID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
2361 unsigned IntrID = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
lib/Target/AMDGPU/AMDGPUISelLowering.cpp 575 switch (cast<ConstantSDNode>(N->getOperand(0))->getZExtValue()) {
718 unsigned IntrID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
1250 unsigned Start = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
1400 LoadSDNode *Load = cast<LoadSDNode>(Op);
2727 EVT ExtraVT = cast<VTSDNode>(Op.getOperand(1))->getVT();
2772 unsigned IID = cast<ConstantSDNode>(Node24->getOperand(0))->getZExtValue();
2978 unsigned IID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
3433 ISD::CondCode CCOpcode = cast<CondCodeSDNode>(Cond.getOperand(2))->get();
4517 unsigned IID = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
4645 = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
lib/Target/AMDGPU/R600ISelLowering.cpp 503 cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
528 cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
1989 ISD::CondCode NCC = cast<CondCodeSDNode>(N->getOperand(4))->get();
2001 ISD::CondCode LHSCC = cast<CondCodeSDNode>(LHS.getOperand(4))->get();
2140 = cast<ConstantSDNode>(ParentNode->getOperand(OtherSelIdx));
lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp 125 MDNode *ArgAQNode = cast<MDNode>(KernelMDNode->getOperand(2));
126 return cast<MDString>(ArgAQNode->getOperand(ArgIdx + 1))->getString();
131 MDNode *ArgTypeNode = cast<MDNode>(KernelMDNode->getOperand(3));
132 return cast<MDString>(ArgTypeNode->getOperand(ArgIdx + 1))->getString();
139 MDNode *Node = cast<MDNode>(KernelMDNode->getOperand(i + 1));
lib/Target/AMDGPU/SIISelLowering.cpp 4184 const auto *CD = cast<ConstantSDNode>(N->getOperand(3));
4220 const auto *CD = cast<ConstantSDNode>(N->getOperand(3));
4264 unsigned IID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
4391 switch (cast<ConstantSDNode>(Intr->getOperand(1))->getZExtValue()) {
4538 if (cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() != 0)
5365 auto DMaskConst = cast<ConstantSDNode>(Op.getOperand(DMaskIdx));
5503 cast<ConstantSDNode>(Op.getOperand(AddrIdx + NumVAddrs + 2));
5711 unsigned IntrinsicID = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
5974 const ConstantSDNode *Param = cast<ConstantSDNode>(Op.getOperand(3));
6115 unsigned IntrID = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
6243 unsigned Glc = cast<ConstantSDNode>(Op.getOperand(5))->getZExtValue();
6244 unsigned Slc = cast<ConstantSDNode>(Op.getOperand(6))->getZExtValue();
6330 unsigned Dfmt = cast<ConstantSDNode>(Op.getOperand(7))->getZExtValue();
6331 unsigned Nfmt = cast<ConstantSDNode>(Op.getOperand(8))->getZExtValue();
6332 unsigned Glc = cast<ConstantSDNode>(Op.getOperand(9))->getZExtValue();
6333 unsigned Slc = cast<ConstantSDNode>(Op.getOperand(10))->getZExtValue();
6414 unsigned Slc = cast<ConstantSDNode>(Op.getOperand(6))->getZExtValue();
6627 unsigned Slc = cast<ConstantSDNode>(Op.getOperand(7))->getZExtValue();
6770 unsigned IntrinsicID = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
6775 const ConstantSDNode *Tgt = cast<ConstantSDNode>(Op.getOperand(2));
6776 const ConstantSDNode *En = cast<ConstantSDNode>(Op.getOperand(3));
6777 const ConstantSDNode *Done = cast<ConstantSDNode>(Op.getOperand(8));
6778 const ConstantSDNode *VM = cast<ConstantSDNode>(Op.getOperand(9));
6797 const ConstantSDNode *Tgt = cast<ConstantSDNode>(Op.getOperand(2));
6798 const ConstantSDNode *En = cast<ConstantSDNode>(Op.getOperand(3));
6801 const ConstantSDNode *Done = cast<ConstantSDNode>(Op.getOperand(6));
6802 const ConstantSDNode *VM = cast<ConstantSDNode>(Op.getOperand(7));
6836 unsigned Dfmt = cast<ConstantSDNode>(Op.getOperand(8))->getZExtValue();
6837 unsigned Nfmt = cast<ConstantSDNode>(Op.getOperand(9))->getZExtValue();
6838 unsigned Glc = cast<ConstantSDNode>(Op.getOperand(10))->getZExtValue();
6839 unsigned Slc = cast<ConstantSDNode>(Op.getOperand(11))->getZExtValue();
6918 unsigned Glc = cast<ConstantSDNode>(Op.getOperand(6))->getZExtValue();
6919 unsigned Slc = cast<ConstantSDNode>(Op.getOperand(7))->getZExtValue();
7045 unsigned Slc = cast<ConstantSDNode>(Op.getOperand(6))->getZExtValue();
7121 C1 = cast<ConstantSDNode>(N0.getOperand(1));
7140 C1 = cast<ConstantSDNode>(DAG.getTargetConstant(ImmOffset, DL, MVT::i32));
7154 C1 = cast<ConstantSDNode>(DAG.getTargetConstant(0, DL, MVT::i32));
8293 ISD::CondCode LCC = cast<CondCodeSDNode>(LHS.getOperand(2))->get();
8294 ISD::CondCode RCC = cast<CondCodeSDNode>(RHS.getOperand(2))->get();
8335 ISD::CondCode LCC = cast<CondCodeSDNode>(LHS.getOperand(2))->get();
8646 auto *VTSign = cast<VTSDNode>(N->getOperand(1));
8849 = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
9777 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(2))->get();
10250 RegisterSDNode *DestReg = cast<RegisterSDNode>(Node->getOperand(1));
10361 ConstantSDNode *FI = cast<ConstantSDNode>(Node->getOperand(0));
10362 ConstantSDNode *BC = cast<ConstantSDNode>(Node->getOperand(2));
10831 const RegisterSDNode *R = cast<RegisterSDNode>(N->getOperand(1));
10872 cast<ConstantSDNode>(N->getOperand(0))->getZExtValue());
10875 cast<ConstantSDNode>(N->getOperand(1))->getZExtValue());
lib/Target/AMDGPU/SIInstrInfo.cpp 181 Offset0 = cast<ConstantSDNode>(Load0->getOperand(Offset0Idx))->getZExtValue();
182 Offset1 = cast<ConstantSDNode>(Load1->getOperand(Offset1Idx))->getZExtValue();
lib/Target/ARC/ARCISelLowering.cpp 166 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(4))->get();
184 unsigned Width = cast<VTSDNode>(Op.getOperand(1))->getVT().getSizeInBits();
199 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(1))->get();
717 assert(cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() == 0 &&
742 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
lib/Target/ARM/ARMBaseInstrInfo.cpp 1900 Offset1 = cast<ConstantSDNode>(Load1->getOperand(1))->getSExtValue();
1901 Offset2 = cast<ConstantSDNode>(Load2->getOperand(1))->getSExtValue();
4391 cast<ConstantSDNode>(DefNode->getOperand(2))->getZExtValue();
4404 cast<ConstantSDNode>(DefNode->getOperand(2))->getZExtValue();
4418 cast<ConstantSDNode>(DefNode->getOperand(2))->getZExtValue();
lib/Target/ARM/ARMISelDAGToDAG.cpp 2230 cast<ConstantSDNode>(N->getOperand(Vec0Idx + NumVecs))->getZExtValue();
2388 int32_t ImmValue = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue();
2412 int32_t ImmValue = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue();
2747 unsigned Width = cast<VTSDNode>(N->getOperand(1))->getVT().getSizeInBits();
2947 cast<RegisterSDNode>(Ptr.getOperand(1))->getReg() == ARM::SP &&
3338 uint64_t ID = cast<ConstantSDNode>(Int->getOperand(1))->getZExtValue();
3344 cast<ConstantSDNode>(Int.getOperand(3))->getZExtValue(), dl,
3798 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
3815 Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(2))->getZExtValue(), dl)); /* coproc */
3816 Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(), dl)); /* opc */
3817 Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(4))->getZExtValue(), dl)); /* CRm */
4264 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
lib/Target/ARM/ARMISelLowering.cpp 2514 unsigned VR = cast<RegisterSDNode>(Arg.getOperand(1))->getReg();
3585 cast<ConstantSDNode>(
3627 unsigned IntNo = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
3757 ConstantSDNode *SSIDNode = cast<ConstantSDNode>(Op.getOperand(2));
3772 ConstantSDNode *OrdN = cast<ConstantSDNode>(Op.getOperand(1));
3800 unsigned isRead = ~cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue() & 1;
3806 unsigned isData = cast<ConstantSDNode>(Op.getOperand(4))->getZExtValue();
3827 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
4253 unsigned Mask = cast<ConstantSDNode>(LHS.getOperand(1))->getZExtValue();
4276 cast<ConstantSDNode>(LHS.getOperand(1))->getZExtValue() < 31) {
4278 cast<ConstantSDNode>(LHS.getOperand(1))->getZExtValue() + 1;
4742 ISD::CondCode CC1 = cast<CondCodeSDNode>(Op.getOperand(4))->get();
4752 ISD::CondCode CC2 = cast<CondCodeSDNode>(Op2.getOperand(4))->get();
4840 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(4))->get();
4918 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(4))->get();
5124 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(1))->get();
5211 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(1))->get();
5536 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
5559 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
7382 unsigned EltNo = cast<ConstantSDNode>(V.getOperand(1))->getZExtValue();
7493 int EltNo = cast<ConstantSDNode>(Entry.getOperand(1))->getSExtValue();
8005 unsigned Lane = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue();
8068 unsigned Lane = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
8392 ConstantSDNode *C = cast<ConstantSDNode>(N->getOperand(i));
9244 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
12273 CondCode0 = (ARMCC::CondCodes)cast<const ConstantSDNode>(N0->getOperand(2))
12276 CondCode0 = (ARMCC::CondCodes)cast<const ConstantSDNode>(N0->getOperand(1))
12279 CondCode1 = (ARMCC::CondCodes)cast<const ConstantSDNode>(N1->getOperand(2))
12282 CondCode1 = (ARMCC::CondCodes)cast<const ConstantSDNode>(N1->getOperand(1))
12444 ToMask = ~cast<ConstantSDNode>(N->getOperand(2))->getAPIntValue();
12451 APInt Shift = cast<ConstantSDNode>(From->getOperand(1))->getAPIntValue();
12522 unsigned InvMask = cast<ConstantSDNode>(N->getOperand(2))->getZExtValue();
12909 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
13113 unsigned IntNo = cast<ConstantSDNode>(VLD->getOperand(1))->getZExtValue();
13130 cast<ConstantSDNode>(VLD->getOperand(NumVecs+3))->getZExtValue();
13138 VLDLaneNo != cast<ConstantSDNode>(User->getOperand(1))->getZExtValue())
13198 unsigned Imm = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
13583 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
13959 auto CCNode = cast<ConstantSDNode>(CMOV->getOperand(2));
14047 if (!cast<ConstantSDNode>(N.getOperand(1))->isOne())
14062 CC = cast<CondCodeSDNode>(N.getOperand(2))->get();
14066 unsigned IntOp = cast<ConstantSDNode>(N.getOperand(1))->getZExtValue();
14104 CC = cast<CondCodeSDNode>(N->getOperand(1))->get();
14144 unsigned IntOp = cast<ConstantSDNode>(Int->getOperand(1))->getZExtValue();
14175 cast<ConstantSDNode>(Int.getOperand(3))->getZExtValue(), dl, MVT::i32);
14531 switch (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()) {
15216 ConstantSDNode *RHS = cast<ConstantSDNode>(Ptr->getOperand(1));
15415 ConstantSDNode *CN = cast<ConstantSDNode>(Op->getOperand(1));
15421 EVT VT = cast<MemIntrinsicSDNode>(Op)->getMemoryVT();
15435 ConstantSDNode *CI = cast<ConstantSDNode>(Op.getOperand(2));
16071 unsigned Align = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue();
lib/Target/AVR/AVRISelDAGToDAG.cpp 97 int FI = cast<FrameIndexSDNode>(N.getOperand(0))->getIndex();
136 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue();
178 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue();
252 cast<RegisterSDNode>(CopyFromRegOp->getOperand(1));
341 int CST = (int)cast<ConstantSDNode>(BasePtr.getOperand(1))->getZExtValue();
lib/Target/AVR/AVRISelLowering.cpp 309 uint64_t ShiftAmount = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
621 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(1))->get();
639 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(4))->get();
654 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
671 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
lib/Target/BPF/BPFISelDAGToDAG.cpp 205 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue();
481 unsigned IntNo = cast<ConstantSDNode>(BaseV->getOperand(1))->getZExtValue();
lib/Target/BPF/BPFISelLowering.cpp 500 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(1))->get();
518 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(4))->get();
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp 190 unsigned IntNo = cast<ConstantSDNode>(IntN->getOperand(1))->getZExtValue();
205 auto Inc = cast<ConstantSDNode>(IntN->getOperand(5));
282 switch (cast<ConstantSDNode>(C->getOperand(1))->getZExtValue()) {
323 unsigned IntNo = cast<ConstantSDNode>(IntN->getOperand(1))->getZExtValue();
364 unsigned IntNo = cast<ConstantSDNode>(IntN->getOperand(1))->getZExtValue();
390 auto Inc = cast<ConstantSDNode>(IntN->getOperand(3));
425 auto Inc = cast<ConstantSDNode>(IntN->getOperand(3));
639 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
663 unsigned IID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
1446 : cast<VTSDNode>(N.getOperand(1))->getVT();
1514 VTSDNode *T = cast<VTSDNode>(Val.getOperand(1));
2077 cast<GlobalAddressSDNode>(GA.Value.getOperand(0));
2078 ConstantSDNode *Offset = cast<ConstantSDNode>(Leaves.top().Value);
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp 2133 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
2170 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
2199 unsigned IID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
lib/Target/Hexagon/HexagonISelLowering.cpp 590 unsigned Flags = cast<ConstantSDNode>(Op.getOperand(i))->getZExtValue();
606 unsigned Reg = cast<RegisterSDNode>(Op.getOperand(i))->getReg();
649 unsigned IntNo = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
805 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
814 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
842 EVT OrigTy = cast<VTSDNode>(Op.getOperand(1))->getVT();
977 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
999 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
lib/Target/Lanai/LanaiISelLowering.cpp 1012 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
1060 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
1083 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp 311 if (cast<ConstantSDNode>(LD->getOffset())->getZExtValue() != 1)
317 if (cast<ConstantSDNode>(LD->getOffset())->getZExtValue() != 2)
lib/Target/MSP430/MSP430ISelLowering.cpp 954 uint64_t ShiftAmount = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
1115 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(1))->get();
1147 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
1210 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(4))->get();
1261 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
1287 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
1305 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
lib/Target/Mips/MipsISelLowering.cpp 659 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
668 ConstantSDNode *CC = cast<ConstantSDNode>(Cond.getOperand(2));
709 ISD::CondCode CC = cast<CondCodeSDNode>(SetCC.getOperand(2))->get();
745 ISD::CondCode CC = cast<CondCodeSDNode>(SetCC.getOperand(2))->get();
2140 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
2152 const Value *SV = cast<SrcValueSDNode>(Node->getOperand(2))->getValue();
2376 if (cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() != 0) {
2397 if (cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() != 0) {
lib/Target/Mips/MipsSEISelDAGToDAG.cpp 78 uint64_t RegNum = cast<ConstantSDNode>(RegIdx)->getZExtValue();
834 switch (cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue()) {
851 switch (cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue()) {
867 switch (cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue()) {
lib/Target/Mips/MipsSEISelLowering.cpp 916 EVT ExtendTy = cast<VTSDNode>(Op0Op0->getOperand(2))->getVT();
973 if (!isLegalDSPCondCode(Ty, cast<CondCodeSDNode>(N->getOperand(2))->get()))
1420 auto *CImm = cast<ConstantSDNode>(Op->getOperand(ImmOp));
1534 << cast<ConstantSDNode>(Op->getOperand(2))->getAPIntValue();
1543 unsigned Intrinsic = cast<ConstantSDNode>(Op->getOperand(0))->getZExtValue();
1977 int64_t Value = cast<ConstantSDNode>(Op->getOperand(2))->getSExtValue();
2140 int64_t Value = cast<ConstantSDNode>(Op->getOperand(2))->getSExtValue();
2148 int64_t Value = cast<ConstantSDNode>(Op->getOperand(2))->getSExtValue();
2167 int64_t Value = cast<ConstantSDNode>(Op->getOperand(3))->getSExtValue();
2227 int64_t Value = cast<ConstantSDNode>(Op->getOperand(2))->getSExtValue();
2257 int64_t Value = cast<ConstantSDNode>(Op->getOperand(2))->getSExtValue();
2315 unsigned Intr = cast<ConstantSDNode>(Op->getOperand(1))->getZExtValue();
2390 unsigned Intr = cast<ConstantSDNode>(Op->getOperand(1))->getZExtValue();
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp 507 unsigned IID = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
593 getPTXCmpMode(*cast<CondCodeSDNode>(N->getOperand(2)), useF32FTZ());
719 unsigned IID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
1036 unsigned ExtensionType = cast<ConstantSDNode>(
1242 unsigned IID = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
lib/Target/NVPTX/NVPTXISelLowering.cpp 1926 cast<ConstantFPSDNode>(Op->getOperand(0))->getValueAPF().bitcastToAPInt();
1928 cast<ConstantFPSDNode>(Op->getOperand(1))->getValueAPF().bitcastToAPInt();
4516 cast<ConstantSDNode>(Val->getOperand(Val->getNumOperands()-1))->
lib/Target/PowerPC/PPCISelDAGToDAG.cpp 555 const BasicBlockSDNode *BBDN = cast<BasicBlockSDNode>(DestMBB);
1397 EVT FromType = cast<VTSDNode>(V.getOperand(1))->getVT();
3593 cast<CondCodeSDNode>(Compare.getOperand(CCOpNum))->get();
4009 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(2))->get();
4257 cast<CondCodeSDNode>(SetOrSelCC.getOperand(InnerIsSel ? 4 : 2))->get();
4440 CurDAG->getTargetConstant(*cast<ConstantSDNode>(N->getOperand(1))->
4808 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(4))->get();
4952 LoadSDNode *LD = cast<LoadSDNode>(Op1.getOperand(0));
5003 unsigned PCC = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
5014 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(1))->get();
5270 ISD::CondCode CC = cast<CondCodeSDNode>(O.getOperand(4))->get();
lib/Target/PowerPC/PPCISelLowering.cpp 2392 assert(!cast<ConstantSDNode>(N.getOperand(1).getOperand(1))->getZExtValue()
2976 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
3035 const Value *SV = cast<SrcValueSDNode>(Node->getOperand(2))->getValue();
3191 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
3236 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
7235 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(4))->get();
8252 LoadSDNode *LD = cast<LoadSDNode>(*InputLoad);
8383 LoadSDNode *LD = cast<LoadSDNode>(*InputLoad);
8903 LoadSDNode *LD = cast<LoadSDNode>(*InputLoad);
9199 cast<ConstantSDNode>(Intrin.getOperand(0))->getZExtValue();
9445 cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
9489 switch (cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue()) {
9525 switch (cast<ConstantSDNode>(Op.getOperand(ArgStart))->getZExtValue()) {
9697 unsigned Offset = 4*cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
10060 int Idx = cast<ConstantSDNode>(Op0.getOperand(1))->getZExtValue();
10203 if (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue() !=
11713 Offset += cast<ConstantSDNode>(Loc.getOperand(1))->getSExtValue();
11772 switch (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()) {
11818 switch (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()) {
11993 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(2))->get();
12043 cast<CondCodeSDNode>(N->getOperand(
12584 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(2))->get();
13412 LSBaseSDNode* LSBase = cast<LSBaseSDNode>(N->getOperand(0));
13428 ShuffleVectorSDNode *SVN = cast<ShuffleVectorSDNode>(N->getOperand(1));
13768 unsigned IID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
13788 cast<ConstantSDNode>(UI->getOperand(0))->getZExtValue() == IID) {
13804 (cast<ConstantSDNode>(Add->getOperand(1))->getZExtValue() -
13805 cast<ConstantSDNode>(UI->getOperand(1))->getZExtValue()) %
13811 cast<ConstantSDNode>(VI->getOperand(0))->getZExtValue() == IID) {
13859 switch (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()) {
13872 switch (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()) {
13974 cast<ConstantSDNode>(Cond.getOperand(1))->getZExtValue() ==
13993 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(1))->get();
14000 cast<ConstantSDNode>(LHS.getOperand(0).getOperand(1))->getZExtValue() ==
14007 cast<ConstantSDNode>(LHS.getOperand(1))->getZExtValue() ==
14059 switch (cast<ConstantSDNode>(LHS.getOperand(1))->getZExtValue()) {
14137 if (cast<VTSDNode>(Op.getOperand(2))->getVT() == MVT::i16)
14142 switch (cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue()) {
14515 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
14543 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
15226 switch(cast<CondCodeSDNode>(Cmp.getOperand(2))->get()) {
15539 ISD::CondCode CC = cast<CondCodeSDNode>(Cond.getOperand(2))->get();
lib/Target/RISCV/RISCVISelDAGToDAG.cpp 92 Mask = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue();
lib/Target/RISCV/RISCVISelLowering.cpp 630 auto CC = cast<CondCodeSDNode>(CondV.getOperand(2));
663 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
680 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
705 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
lib/Target/Sparc/SparcISelLowering.cpp 1893 SPCC = cast<ConstantSDNode>(LHS.getOperand(2))->getZExtValue();
2431 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(1))->get();
2469 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(4))->get();
2515 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
2526 const Value *SV = cast<SrcValueSDNode>(Node->getOperand(2))->getValue();
2547 unsigned Align = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue();
2991 unsigned IntNo = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp 1434 auto *Load = cast<LoadSDNode>(Store->getValue());
1454 auto *LoadA = cast<LoadSDNode>(StoreA->getValue().getOperand(1 - I));
1455 auto *LoadB = cast<LoadSDNode>(StoreA->getValue().getOperand(I));
1715 cast<RegisterSDNode>(CCUser->getOperand(1))->getReg() == SystemZ::CC) {
lib/Target/SystemZ/SystemZISelLowering.cpp 1712 unsigned Id = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
1738 unsigned Id = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
2124 cast<ConstantSDNode>(C.Op0.getOperand(1))->getZExtValue() == 0xffffffff)
2196 cast<VTSDNode>(N->getOperand(1))->getVT() == MVT::i32) {
2214 auto *L = cast<LoadSDNode>(C.Op0.getOperand(0));
2740 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
2752 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(1))->get();
2771 cast<ConstantSDNode>(Neg.getOperand(0))->getZExtValue() == 0 &&
2794 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(4))->get();
3060 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
3091 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
3163 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
3195 const Value *DstSV = cast<SrcValueSDNode>(Op.getOperand(3))->getValue();
3196 const Value *SrcSV = cast<SrcValueSDNode>(Op.getOperand(4))->getValue();
3420 uint64_t Mask = cast<ConstantSDNode>(HighOp.getOperand(1))->getZExtValue();
3624 cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue());
3626 cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue());
3894 bool IsData = cast<ConstantSDNode>(Op.getOperand(4))->getZExtValue();
3900 bool IsWrite = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue();
3946 unsigned Id = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
4538 unsigned Elem = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
5442 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT();
5754 cast<ConstantSDNode>(Op0.getOperand(1))->getZExtValue() == 0) {
5762 cast<ConstantSDNode>(U->getOperand(1))->getZExtValue() == 1) {
5805 cast<ConstantSDNode>(Op0.getOperand(1))->getZExtValue() == 0) {
5813 cast<ConstantSDNode>(U->getOperand(1))->getZExtValue() == 2) {
6192 unsigned Id = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
6236 unsigned Mask = cast<ConstantSDNode>(Op.getOperand(3))->getZExtValue();
6245 unsigned FirstIdx = cast<ConstantSDNode>(Op.getOperand(3))->getZExtValue();
6322 unsigned Id = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
6422 unsigned Id = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp 186 const auto *S = cast<MDString>(Ident->getOperand(I)->getOperand(0));
298 cast<ConstantAsMetadata>(Idx->getOperand(0))->getValue()));
lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp 169 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue();
195 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue();
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp 555 MVT MemT = cast<LoadSDNode>(ExtVal->getOperand(0))->getSimpleValueType(0);
1032 unsigned Reg = cast<RegisterSDNode>(Op.getOperand(1))->getReg();
1067 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
1160 const auto *JT = cast<JumpTableSDNode>(Op.getOperand(1));
1189 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
1204 IntNo = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
1207 IntNo = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
lib/Target/X86/X86ISelDAGToDAG.cpp 442 const APInt &Val = cast<ConstantSDNode>(N->getOperand(1))->getAPIntValue();
1617 int64_t Mask = cast<ConstantSDNode>(N->getOperand(1))->getSExtValue();
1930 ConstantSDNode *AddVal = cast<ConstantSDNode>(ShVal.getOperand(1));
1996 cast<ConstantSDNode>(MulVal.getOperand(1));
2224 AM.Scale = cast<ConstantSDNode>(Mgs->getScale())->getZExtValue();
2574 auto *GA = cast<GlobalAddressSDNode>(N.getOperand(0));
2668 cast<RegisterSDNode>(UI->getOperand(1))->getReg() != X86::EFLAGS)
2704 cast<RegisterSDNode>(UI->getOperand(1))->getReg() != X86::EFLAGS)
2763 if (cast<RegisterSDNode>(UI->getOperand(1))->getReg() != X86::EFLAGS)
4117 ISD::CondCode CC = cast<CondCodeSDNode>(Setcc.getOperand(2))->get();
lib/Target/X86/X86ISelLowering.cpp 4223 cast<VTSDNode>(TruncInput.getOperand(1))->getVT() ==
4234 unsigned VR = cast<RegisterSDNode>(Arg.getOperand(1))->getReg();
6077 auto *Cst = cast<ConstantSDNode>(Src);
6094 auto *Cst = cast<ConstantFPSDNode>(Src);
6192 auto *CN = cast<ConstantSDNode>(Op.getOperand(0).getOperand(0));
7690 FI = cast<FrameIndexSDNode>(Ptr.getOperand(0))->getIndex();
8642 unsigned I0 = cast<ConstantSDNode>(Op0.getOperand(1))->getZExtValue();
8643 unsigned I1 = cast<ConstantSDNode>(Op1.getOperand(1))->getZExtValue();
8795 unsigned I0 = cast<ConstantSDNode>(Op0.getOperand(1))->getZExtValue();
21067 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
21219 cast<CondCodeSDNode>(Cond.getOperand(2))->get(), CondOp0, CondOp1);
21976 if (cast<CondCodeSDNode>(Cond.getOperand(2))->get() == ISD::SETEQ &&
22110 cast<CondCodeSDNode>(Cond.getOperand(2))->get() == ISD::SETOEQ) {
22141 cast<CondCodeSDNode>(Cond.getOperand(2))->get() == ISD::SETUNE) {
22280 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
22344 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
22404 const Value *DstSV = cast<SrcValueSDNode>(Op.getOperand(3))->getValue();
22405 const Value *SrcSV = cast<SrcValueSDNode>(Op.getOperand(4))->getValue();
23257 auto Round = cast<ConstantSDNode>(Op.getOperand(2));
23267 auto Round = cast<ConstantSDNode>(Op.getOperand(3));
24378 const Value *TrmpAddr = cast<SrcValueSDNode>(Op.getOperand(4))->getValue();
24435 cast<Function>(cast<SrcValueSDNode>(Op.getOperand(5))->getValue());
34236 LoadSDNode *LN = cast<LoadSDNode>(N->getOperand(0));
34317 auto *Amt = cast<ConstantSDNode>(Op.getOperand(1));
34356 auto *Amt = cast<ConstantSDNode>(Op.getOperand(1));
35482 cast<CondCodeSDNode>(N0.getOperand(2))->get() == ISD::SETLT) {
36840 ISD::CondCode CC = cast<CondCodeSDNode>(Cond.getOperand(2))->get();
36991 ISD::CondCode CC = cast<CondCodeSDNode>(Cond.getOperand(2))->get();
37076 ISD::CondCode CC = cast<CondCodeSDNode>(Cond.getOperand(2))->get();
37096 ISD::CondCode CC = cast<CondCodeSDNode>(Cond.getOperand(2))->get();
37165 ISD::CondCode CC = cast<CondCodeSDNode>(Cond.getOperand(2))->get();
38583 unsigned ShiftVal2 = cast<ConstantSDNode>(N0.getOperand(1))->getZExtValue();
40367 BuildVectorSDNode *MaskBV = cast<BuildVectorSDNode>(ML->getMask());
40668 cast<LoadSDNode>(St->getValue())->isSimple() &&
41994 LoadSDNode *LN = cast<LoadSDNode>(N->getOperand(0));
42029 LoadSDNode *LN = cast<LoadSDNode>(N->getOperand(0));
42432 ISD::CondCode CC = cast<CondCodeSDNode>(N0.getOperand(2))->get();
42651 ISD::CondCode CC = cast<CondCodeSDNode>(SetCC->getOperand(2))->get();
42817 ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(2))->get();
44551 unsigned ExtIdx = cast<ConstantSDNode>(Ext->getOperand(1))->getZExtValue();
44626 unsigned IdxVal = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
lib/Target/XCore/XCoreISelDAGToDAG.cpp 244 unsigned IntNo = cast<ConstantSDNode>(Addr->getOperand(1))->getZExtValue();
lib/Target/XCore/XCoreISelLowering.cpp 431 Offset = cast<ConstantSDNode>(BasePtr->getOperand(1))->getSExtValue();
743 const Value *SV = cast<SrcValueSDNode>(Node->getOperand(2))->getValue();
778 if (cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() > 0)
794 if (cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() > 0)
866 const Value *TrmpAddr = cast<SrcValueSDNode>(Op.getOperand(4))->getValue();
916 unsigned IntNo = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
1596 switch (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()) {
1833 unsigned IntNo = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
lib/Transforms/Coroutines/CoroSplit.cpp 241 auto *FromPad = cast<CleanupPadInst>(Bundle->Inputs[0]);
lib/Transforms/IPO/GlobalDCE.cpp 182 cast<ConstantAsMetadata>(Type->getOperand(0))->getValue())
lib/Transforms/IPO/GlobalSplit.cpp 93 cast<ConstantAsMetadata>(Type->getOperand(0))->getValue())
lib/Transforms/IPO/LowerTypeTests.cpp 565 cast<ConstantAsMetadata>(Type->getOperand(0))->getValue())
697 cast<ConstantAsMetadata>(Type->getOperand(0))->getValue())
1855 cast<MDString>(FuncMD->getOperand(0))->getString();
1857 cast<ConstantAsMetadata>(FuncMD->getOperand(1))
2139 cast<MDString>(AliasMD->getOperand(0))->getString();
2140 StringRef Aliasee = cast<MDString>(AliasMD->getOperand(1))->getString();
2149 cast<ConstantAsMetadata>(AliasMD->getOperand(2))
2154 static_cast<bool>(cast<ConstantAsMetadata>(AliasMD->getOperand(3))
2181 cast<MDString>(Symver->getOperand(0))->getString();
2182 StringRef Alias = cast<MDString>(Symver->getOperand(1))->getString();
lib/Transforms/IPO/SyntheticCountsPropagation.cpp 114 CallSite CS(cast<Instruction>(Edge.first));
lib/Transforms/IPO/WholeProgramDevirt.cpp 804 cast<ConstantAsMetadata>(Type->getOperand(0))->getValue())
lib/Transforms/InstCombine/InstCombineCalls.cpp 181 CopyMD = cast<MDNode>(M->getOperand(2));
lib/Transforms/InstCombine/InstCombinePHI.cpp 1236 PHINode *FirstPN = cast<PHINode>(PN.getParent()->begin());
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1115 MDString *DIFilename = cast<MDString>(MDN->getOperand(0));
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 611 MDString *MDName = cast<MDString>(MD->getOperand(0));
lib/Transforms/Scalar/InferAddressSpaces.cpp 895 User *NewV = cast<User>(ValueWithNewAddrSpace.lookup(V));
lib/Transforms/Scalar/JumpThreading.cpp 2152 MDString *MDName = cast<MDString>(WeightsNode->getOperand(0));
lib/Transforms/Scalar/NewGVN.cpp 3027 return cast<MemoryAccess>(U) != MP &&
3028 !isMemoryAccessTOP(cast<MemoryAccess>(U)) &&
3043 return lookupMemoryLeader(cast<MemoryAccess>(U));
3245 const MemoryDef *MD = cast<MemoryDef>(U);
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 1086 auto *ClonedParentBB = cast<BasicBlock>(VMap.lookup(ParentBB));
1101 auto *ClonedSuccBB = cast<BasicBlock>(VMap.lookup(UnswitchedSuccBB));
1147 auto *ClonedBB = cast<BasicBlock>(VMap.lookup(BB));
1208 auto *ClonedPH = cast<BasicBlock>(VMap.lookup(OrigPH));
1209 auto *ClonedHeader = cast<BasicBlock>(VMap.lookup(OrigHeader));
1336 cast<BasicBlock>(VMap.lookup(ChildLoopBB))) &&
lib/Transforms/Utils/BasicBlockUtils.cpp 534 PHINode *PN = cast<PHINode>(I++);
lib/Transforms/Utils/CloneFunction.cpp 555 PHINode *PN = cast<PHINode>(NewBB->begin());
585 PN = cast<PHINode>(NewBB->begin());
lib/Transforms/Utils/CodeExtractor.cpp 660 PHINode *PN = cast<PHINode>(OldPred->begin());
lib/Transforms/Utils/InlineFunction.cpp 555 auto *FuncletPad = cast<Instruction>(FuncletBundle->Inputs[0]);
1460 auto *ClonedBB = cast<BasicBlock>(Entry.second);
1472 BasicBlock *EntryClone = cast<BasicBlock>(VMap.lookup(&CalleeEntryBlock));
1624 CallSiteEHPad = cast<FuncletPadInst>(ParentFunclet->Inputs.front());
lib/Transforms/Utils/LoopUtils.cpp 218 MDNode *Node = cast<MDNode>(LoopID->getOperand(i));
lib/Transforms/Utils/MisExpect.cpp 161 if (MDString *Tag = cast<MDString>(MD->getOperand(0))) {
lib/Transforms/Utils/SimplifyCFG.cpp 2331 PHINode *PN = cast<PHINode>(II++);
4026 PHINode *PN = cast<PHINode>(I++);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h 561 return cast<SwitchStmt>(Src->getTerminator());
tools/clang/lib/AST/ASTContext.cpp 5576 return cast<ArrayType>(getConstantArrayType(NewEltTy, CAT->getSize(),
5581 return cast<ArrayType>(getIncompleteArrayType(NewEltTy,
5586 return cast<ArrayType>(
5594 return cast<ArrayType>(getVariableArrayType(NewEltTy,
tools/clang/lib/AST/ASTStructuralEquivalence.cpp 645 cast<FunctionProtoType>(OrigT1.getDesugaredType(Context.FromCtx));
647 cast<FunctionProtoType>(OrigT2.getDesugaredType(Context.ToCtx));
tools/clang/lib/AST/Expr.cpp 2360 return cast<BlockPointerType>(getType())
tools/clang/lib/AST/Type.cpp 2125 EnumDecl *EnumD = cast<EnumType>(CanonicalType)->getDecl();
2133 RecordDecl *Rec = cast<RecordType>(CanonicalType)->getDecl();
2143 return cast<ArrayType>(CanonicalType)->getElementType()
2152 auto *MPTy = cast<MemberPointerType>(CanonicalType);
2171 return cast<ObjCObjectType>(CanonicalType)->getBaseType()
2176 = cast<ObjCInterfaceType>(CanonicalType)->getDecl();
3199 QualType Inner = cast<AttributedType>(getUnderlyingType())->getModifiedType();
tools/clang/lib/AST/TypePrinter.cpp 1210 cast<TemplateSpecializationType>(TAW->getType());
tools/clang/lib/AST/VTableBuilder.cpp 472 cast<FunctionProtoType>(LHS->getType().getCanonicalType());
474 cast<FunctionProtoType>(RHS->getType().getCanonicalType());
tools/clang/lib/CodeGen/CGDebugInfo.cpp 300 cast<ObjCObjectPointerType>(SelfDecl->getType())->getPointeeType();
4699 auto *Ty = cast<llvm::DIType>(P.second);
4712 llvm::TempMDNode FwdDecl(cast<llvm::MDNode>(P.second));
tools/clang/lib/CodeGen/CGExprAgg.cpp 277 cast<llvm::IntrinsicInst>(std::prev(Builder.GetInsertPoint()));
tools/clang/lib/CodeGen/CGExprComplex.cpp 37 return cast<ComplexType>(cast<AtomicType>(type)->getValueType());
tools/clang/lib/CodeGen/CGExprConstant.cpp 2174 const MemberPointerType *type = cast<MemberPointerType>(uo->getType());
tools/clang/lib/CodeGen/CGObjC.cpp 1617 const ObjCObjectPointerType *PTy = cast<ObjCObjectPointerType>(
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 4257 auto *V = cast<llvm::ConstantAsMetadata>(MN->getOperand(Idx));
4262 auto *V = cast<llvm::MDString>(MN->getOperand(Idx));
tools/clang/lib/CodeGen/CGStmt.cpp 627 cast<llvm::PHINode>(IndGotoBB->begin())->addIncoming(V, CurBB);
tools/clang/lib/Sema/SemaChecking.cpp 485 cast<BlockPointerType>(BlockArg->getType().getCanonicalType());
584 cast<BlockPointerType>(BlockArg->getType().getCanonicalType());
678 cast<BlockPointerType>(Arg3->getType().getCanonicalType());
807 const PipeType *PipeTy = cast<PipeType>(Arg0->getType());
tools/clang/lib/Sema/SemaDecl.cpp 259 cast<Type>(Context.getRecordType(RD)));
tools/clang/lib/Sema/SemaOverload.cpp 2878 if (cast<FunctionProtoType>(FromFunction->getCanonicalTypeUnqualified())
2880 cast<FunctionProtoType>(ToFunction->getCanonicalTypeUnqualified())
8849 const MemberPointerType *mptr = cast<MemberPointerType>(*MemPtr);
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp 177 cast<TemplateSpecializationType>(Context.getCanonicalType(T));
1096 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD));
1357 cast<PackExpansionType>(parm->getType())->getPattern(),
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 3872 cast<FunctionProtoType>(OldProtoLoc.getType());
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 2236 const ArrayType *AT =cast<ArrayType>(Ctx.getCanonicalType(R->getValueType()));
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp 729 cast<ObjCObjectPointerType>(SelfDecl->getType())->getPointeeType();
tools/lldb/source/Symbol/ClangASTContext.cpp 142 const auto *m1Type = llvm::cast<clang::FunctionProtoType>(
145 const auto *m2Type = llvm::cast<clang::FunctionProtoType>(
tools/polly/lib/CodeGen/IRBuilder.cpp 139 MDNode *Id = cast<MDNode>(Ids->getOperand(Ids->getNumOperands() - 1));
unittests/Analysis/CGSCCPassManagerTest.cpp 1168 auto &H3F = *cast<CallInst>(H2F.begin()->begin())->getCalledFunction();
1216 auto &H3F = *cast<Function>(cast<BitCastInst>(H2F.begin()->begin())->getOperand(0));
unittests/Analysis/DivergenceAnalysisTest.cpp 155 auto &RetInst = *cast<ReturnInst>(ExitBlock.begin());
209 auto &RetInst = *cast<ReturnInst>(ExitBlock.begin());
425 auto &DivDblPhi = *cast<PHINode>(ExitBlock.begin());
unittests/IR/MDBuilderTest.cpp 78 EXPECT_EQ(cast<MDString>(R0->getOperand(0))->getString(), "Root");
97 EXPECT_EQ(cast<MDString>(N0->getOperand(0))->getString(), "Node");
98 EXPECT_EQ(cast<MDString>(N1->getOperand(0))->getString(), "edoN");
99 EXPECT_EQ(cast<MDString>(N2->getOperand(0))->getString(), "Node");
unittests/Support/Casting.cpp 383 EXPECT_TRUE(cast<pointer_wrappers::Derived>(CD) == &D);
unittests/Transforms/Vectorize/VPlanPredicatorTest.cpp 88 cast<VPInstruction>(InnerIf->getEntryBasicBlock()->begin());
181 cast<VPInstruction>(InnerIfTSucc->getEntryBasicBlock()->begin());
183 cast<VPInstruction>(InnerIfFSucc->getEntryBasicBlock()->begin());
187 cast<VPInstruction>(TSuccSucc->getEntryBasicBlock()->begin());