Home
last modified time | relevance | path

Searched refs:getConstantOperandVal (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp923 unsigned RotAmt = V.getConstantOperandVal(1); in getValueBits()
936 unsigned ShiftAmt = V.getConstantOperandVal(1); in getValueBits()
952 unsigned ShiftAmt = V.getConstantOperandVal(1); in getValueBits()
968 uint64_t Mask = V.getConstantOperandVal(1); in getValueBits()
3056 int Elt = N->getConstantOperandVal(0); in Select()
3057 int EltSize = N->getConstantOperandVal(1); in Select()
3165 uint64_t PM = O.getConstantOperandVal(2); in combineToCMPB()
3166 uint64_t PAlt = O.getConstantOperandVal(3); in combineToCMPB()
3179 O.getConstantOperandVal(1) != 0) { in combineToCMPB()
3193 if (Op0.getConstantOperandVal(1) != Bits-8) in combineToCMPB()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAGNodes.h139 inline uint64_t getConstantOperandVal(unsigned i) const;
531 uint64_t getConstantOperandVal(unsigned Num) const;
781 inline uint64_t SDValue::getConstantOperandVal(unsigned i) const {
782 return Node->getConstantOperandVal(i);
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp615 if (N->getConstantOperandVal(1)) in PreprocessISelDAG()
927 int ScaleLog = 8 - Shift.getConstantOperandVal(1); in foldMaskAndShiftToExtract()
976 unsigned ShiftAmt = Shift.getConstantOperandVal(1); in foldMaskedShiftToScaledMask()
1036 unsigned ShiftAmt = Shift.getConstantOperandVal(1); in foldMaskAndShiftToScale()
1226 uint64_t Mask = And.getConstantOperandVal(1) >> N.getConstantOperandVal(1); in matchAddressRecursively()
1377 uint64_t Mask = N.getConstantOperandVal(1); in matchAddressRecursively()
DX86ISelLowering.cpp5505 Offset = Ptr.getConstantOperandVal(1); in LowerAsSplatVectorLoad()
14741 unsigned ShAmt = Op->getConstantOperandVal(1); in EmitTest()
15607 X86::CondCode CCode = (X86::CondCode)Op0.getConstantOperandVal(0); in LowerSETCC()
16675 (X86::CondCode)Cond.getOperand(0).getConstantOperandVal(0); in LowerBRCOND()
16693 (X86::CondCode)Cond.getOperand(1).getConstantOperandVal(0); in LowerBRCOND()
16706 (X86::CondCode)Cond.getOperand(0).getConstantOperandVal(0); in LowerBRCOND()
16960 unsigned Align = Op.getConstantOperandVal(3); in LowerVAARG()
26310 N->getConstantOperandVal(1) == 0) { in combineExtractVectorElt()
27078 assert(X86::CondCode(SetCC.getConstantOperandVal(0)) == X86::COND_B && in checkBoolTestSetCCCombine()
27083 CC = X86::CondCode(SetCC.getConstantOperandVal(0)); in checkBoolTestSetCCCombine()
[all …]
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h166 inline uint64_t getConstantOperandVal(unsigned i) const;
663 uint64_t getConstantOperandVal(unsigned Num) const;
880 inline uint64_t SDValue::getConstantOperandVal(unsigned i) const {
881 return Node->getConstantOperandVal(i);
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp250 const unsigned Align = N->getConstantOperandVal(3); in ExpandRes_VAARG()
DLegalizeFloatTypes.cpp531 N->getConstantOperandVal(3)); in SoftenFloatRes_VAARG()
DSelectionDAG.cpp2598 Operand.getConstantOperandVal(1) == 0 && in getNode()
5844 uint64_t SDNode::getConstantOperandVal(unsigned Num) const { in getConstantOperandVal() function in SDNode
6556 FrameOffset = Ptr.getConstantOperandVal(1); in InferPtrAlignment()
DDAGCombiner.cpp5548 bool IsTrunc = N->getConstantOperandVal(1) == 1 && in visitFP_ROUND()
5549 N0.getNode()->getConstantOperandVal(1) == 1; in visitFP_ROUND()
5598 && N0.getNode()->getConstantOperandVal(1) == 1) { in visitFP_EXTEND()
DLegalizeIntegerTypes.cpp703 N->getConstantOperandVal(3)); in PromoteIntRes_VAARG()
DLegalizeDAG.cpp3166 unsigned Align = Node->getConstantOperandVal(3); in ExpandNode()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp597 if (Op.getConstantOperandVal(0) > 0) in LowerFRAMEADDR()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp306 const unsigned Align = N->getConstantOperandVal(3); in ExpandRes_VAARG()
DInstrEmitter.cpp763 CC = Node->getConstantOperandVal(PatchPointOpers::CCPos); in EmitMachineNode()
DSelectionDAG.cpp1823 unsigned Align = Node->getConstantOperandVal(3); in expandVAArg()
3187 Operand.getConstantOperandVal(1) == 0 && in getNode()
6873 uint64_t SDNode::getConstantOperandVal(unsigned Num) const { in getConstantOperandVal() function in SDNode
7045 FrameOffset = Ptr.getConstantOperandVal(1); in InferPtrAlignment()
DLegalizeFloatTypes.cpp697 N->getConstantOperandVal(3)); in SoftenFloatRes_VAARG()
DDAGCombiner.cpp9153 const bool NIsTrunc = N->getConstantOperandVal(1) == 1; in visitFP_ROUND()
9154 const bool N0IsTrunc = N0.getNode()->getConstantOperandVal(1) == 1; in visitFP_ROUND()
9227 && N0.getNode()->getConstantOperandVal(1) == 1) { in visitFP_EXTEND()
13206 unsigned Idx = N->getConstantOperandVal(1); in visitEXTRACT_SUBVECTOR()
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/
DSparcISelLowering.cpp1089 uint64_t depth = Op.getConstantOperandVal(0); in LowerFRAMEADDR()
1120 uint64_t depth = Op.getConstantOperandVal(0); in LowerRETURNADDR()
/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp1387 (SetCC->getConstantOperandVal(1) == 1 && in LowerBRCOND()
3109 unsigned OldDmask = Node->getConstantOperandVal(DmaskIdx); in adjustWritemask()
3125 Lane = SubIdx2Lane(I->getConstantOperandVal(1)); in adjustWritemask()
/external/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp1413 return DAG.getConstant(Op->getConstantOperandVal(ImmOp), SDLoc(Op), in lowerMSASplatImm()
1592 Op->getConstantOperandVal(3)); in lowerINTRINSIC_WO_CHAIN()
1605 Op->getConstantOperandVal(3)); in lowerINTRINSIC_WO_CHAIN()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp4919 Offset = Ptr.getConstantOperandVal(1); in LowerAsSplatVectorLoad()
8403 X86::CondCode CCode = (X86::CondCode)Op0.getConstantOperandVal(0); in LowerSETCC()
8856 (X86::CondCode)Cond.getOperand(0).getConstantOperandVal(0); in LowerBRCOND()
8874 (X86::CondCode)Cond.getOperand(1).getConstantOperandVal(0); in LowerBRCOND()
8887 (X86::CondCode)Cond.getOperand(0).getConstantOperandVal(0); in LowerBRCOND()
9057 unsigned Align = Op.getConstantOperandVal(3); in LowerVAARG()
12893 X86::CondCode CC = (X86::CondCode)N->getConstantOperandVal(2); in PerformCMOVCombine()
13257 enum X86::CondCode cc0 = (enum X86::CondCode)N0.getConstantOperandVal(0); in CMPEQCombine()
13258 enum X86::CondCode cc1 = (enum X86::CondCode)N1.getConstantOperandVal(0); in CMPEQCombine()
14065 unsigned X86CC = N->getConstantOperandVal(0); in PerformSETCCCombine()
[all …]
DX86ISelDAGToDAG.cpp496 if (N->getConstantOperandVal(1)) in PreprocessISelDAG()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp3674 isPowerOf2_64(LHS.getConstantOperandVal(1))) { in LowerBR_CC()
3676 uint64_t Mask = LHS.getConstantOperandVal(1); in LowerBR_CC()
3690 isPowerOf2_64(LHS.getConstantOperandVal(1))) { in LowerBR_CC()
3692 uint64_t Mask = LHS.getConstantOperandVal(1); in LowerBR_CC()
4322 unsigned Align = Op.getConstantOperandVal(3); in LowerVAARG()
7393 uint64_t TruncMask = N->getConstantOperandVal(1); in isDesirableToCommuteWithShift()
7833 ShiftAmount = N->getConstantOperandVal(1); in findEXTRHalf()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp2660 uint64_t depth = Op.getConstantOperandVal(0); in LowerFRAMEADDR()
2677 uint64_t depth = Op.getConstantOperandVal(0); in LowerRETURNADDR()
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp1113 MemN->getConstantOperandVal(MemN->getNumOperands() - 1) == 1)) { in SelectAddrMode6()

12