Home
last modified time | relevance | path

Searched refs:CVal (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMConstantPoolValue.cpp128 CVal(C) {} in ARMConstantPoolConstant()
138 CVal(C) {} in ARMConstantPoolConstant()
143 ARMCP::no_modifier, false), CVal(C) { in ARMConstantPoolConstant()
184 return dyn_cast_or_null<GlobalValue>(CVal); in getGV()
188 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress()
206 return ACPC && ACPC->CVal == CVal && ARMConstantPoolValue::hasSameValue(ACPV); in hasSameValue()
210 ID.AddPointer(CVal); in addSelectionDAGCSEId()
217 O << CVal->getName(); in print()
DARMConstantPoolValue.h144 const Constant *CVal; // Constant being loaded. variable
186 return CVal; in getPromotedGlobalInit()
206 return CVal == A->CVal && ARMConstantPoolValue::equals(A); in equals()
DARMISelLowering.cpp16043 int CVal = (int) CVal64; in LowerAsmOperandForConstraint() local
16046 if (CVal != CVal64) in LowerAsmOperandForConstraint()
16054 if (CVal >= 0 && CVal <= 65535) in LowerAsmOperandForConstraint()
16061 if (CVal >= 0 && CVal <= 255) in LowerAsmOperandForConstraint()
16066 if (ARM_AM::getT2SOImmVal(CVal) != -1) in LowerAsmOperandForConstraint()
16071 if (ARM_AM::getSOImmVal(CVal) != -1) in LowerAsmOperandForConstraint()
16082 if (CVal >= -255 && CVal <= -1) in LowerAsmOperandForConstraint()
16088 if (CVal >= -4095 && CVal <= 4095) in LowerAsmOperandForConstraint()
16099 if (CVal != 0 && ARM_AM::isThumbImmShiftedVal(CVal)) in LowerAsmOperandForConstraint()
16107 if (ARM_AM::getT2SOImmVal(~CVal) != -1) in LowerAsmOperandForConstraint()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCISelDAGToDAG.cpp172 uint64_t CVal = cast<ConstantSDNode>(N)->getZExtValue(); in Select() local
174 isInt<12>(CVal) ? ARC::MOV_rs12 : ARC::MOV_rlimm, in Select()
176 CurDAG->getTargetConstant(CVal, SDLoc(N), MVT::i32))); in Select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp382 const ConstantInt *CVal = in getArithmeticInstrCost() local
386 if (CVal != nullptr && in getArithmeticInstrCost()
387 (CVal->getValue().isPowerOf2() || (-CVal->getValue()).isPowerOf2())) in getArithmeticInstrCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineFunction.cpp704 auto *CVal = cast<Constant>(Val); in addLandingPad() local
706 for (User::op_iterator II = CVal->op_begin(), IE = CVal->op_end(); in addLandingPad()
DCodeGenPrepare.cpp4256 const APInt &CVal = CI->getValue(); in matchOperationAddr() local
4257 if (CVal.getMinSignedBits() <= 64) { in matchOperationAddr()
4258 ConstantOffset += CVal.getSExtValue() * TypeSize; in matchOperationAddr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp2700 uint64_t CVal = C->getSExtValue(); in LowerAsmOperandForConstraint() local
2701 if (isInt<12>(CVal)) in LowerAsmOperandForConstraint()
2703 DAG.getTargetConstant(CVal, SDLoc(Op), Subtarget.getXLenVT())); in LowerAsmOperandForConstraint()
2716 uint64_t CVal = C->getZExtValue(); in LowerAsmOperandForConstraint() local
2717 if (isUInt<5>(CVal)) in LowerAsmOperandForConstraint()
2719 DAG.getTargetConstant(CVal, SDLoc(Op), Subtarget.getXLenVT())); in LowerAsmOperandForConstraint()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp1939 uint32_t CVal = C->getZExtValue(); in SelectS_BFEFromShifts() local
1941 if (0 < BVal && BVal <= CVal && CVal < 32) { in SelectS_BFEFromShifts()
1945 ReplaceNode(N, getS_BFE(Opcode, SDLoc(N), Shl.getOperand(0), CVal - BVal, in SelectS_BFEFromShifts()
1946 32 - CVal)); in SelectS_BFEFromShifts()
DAMDGPUISelLowering.cpp3950 uint64_t CVal = C->getZExtValue(); in PerformDAGCombine() local
3952 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine()
3953 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine()
3961 uint64_t CVal = Val.getZExtValue(); in PerformDAGCombine() local
3963 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine()
3964 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine()
4058 if (ConstantSDNode *CVal = dyn_cast<ConstantSDNode>(BitsFrom)) { in PerformDAGCombine() local
4061 CVal->getSExtValue(), in PerformDAGCombine()
4068 CVal->getZExtValue(), in PerformDAGCombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6404 uint64_t CVal = C->getZExtValue(); in LowerAsmOperandForConstraint() local
6413 if (isUInt<12>(CVal) || isShiftedUInt<12, 12>(CVal)) in LowerAsmOperandForConstraint()
6419 CVal = C->getSExtValue(); in LowerAsmOperandForConstraint()
6432 if (AArch64_AM::isLogicalImmediate(CVal, 32)) in LowerAsmOperandForConstraint()
6436 if (AArch64_AM::isLogicalImmediate(CVal, 64)) in LowerAsmOperandForConstraint()
6446 if (!isUInt<32>(CVal)) in LowerAsmOperandForConstraint()
6448 if (AArch64_AM::isLogicalImmediate(CVal, 32)) in LowerAsmOperandForConstraint()
6450 if ((CVal & 0xFFFF) == CVal) in LowerAsmOperandForConstraint()
6452 if ((CVal & 0xFFFF0000ULL) == CVal) in LowerAsmOperandForConstraint()
6454 uint64_t NCVal = ~(uint32_t)CVal; in LowerAsmOperandForConstraint()
[all …]
DAArch64InstructionSelector.cpp1886 if (auto CVal = getConstantVRegVal(ValReg, MRI)) { in select() local
1887 if (*CVal == 0 && Opcode == TargetOpcode::G_STORE) { in select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1866 unsigned CVal = 0; in ParseIntelInlineAsmOperator() local
1869 case IOK_LENGTH: CVal = Info.Var.Length; break; in ParseIntelInlineAsmOperator()
1870 case IOK_SIZE: CVal = Info.Var.Size; break; in ParseIntelInlineAsmOperator()
1871 case IOK_TYPE: CVal = Info.Var.Type; break; in ParseIntelInlineAsmOperator()
1874 return CVal; in ParseIntelInlineAsmOperator()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp228 const APInt *BVal, *CVal; in maintainNoSignedWrap() local
229 if (!match(B, m_APInt(BVal)) || !match(C, m_APInt(CVal))) in maintainNoSignedWrap()
234 (void)BVal->sadd_ov(*CVal, Overflow); in maintainNoSignedWrap()
236 (void)BVal->ssub_ov(*CVal, Overflow); in maintainNoSignedWrap()
DInstCombineCompares.cpp4613 const APInt &CVal = CI->getValue(); in processUMulZExtIdiom() local
4614 if (CVal.getBitWidth() - CVal.countLeadingZeros() > MulWidth) in processUMulZExtIdiom()
4651 const APInt &CVal = CI->getValue() + 1; in processUMulZExtIdiom() local
4652 if (CVal.isPowerOf2()) { in processUMulZExtIdiom()
4653 unsigned MaskWidth = CVal.logBase2(); in processUMulZExtIdiom()
DInstCombineCalls.cpp3572 const ConstantFP *CVal = dyn_cast<ConstantFP>(Src0); in visitCallInst() local
3573 if (!CVal) { in visitCallInst()
3590 const APFloat &Val = CVal->getValueAPF(); in visitCallInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2771 APInt CVal; in isConstTrueVal() local
2773 CVal = CN->getAPIntValue(); in isConstTrueVal()
2782 CVal = CN->getAPIntValue(); in isConstTrueVal()
2783 if (BVEltWidth < CVal.getBitWidth()) in isConstTrueVal()
2784 CVal = CVal.trunc(BVEltWidth); in isConstTrueVal()
2791 return CVal[0]; in isConstTrueVal()
2793 return CVal.isOneValue(); in isConstTrueVal()
2795 return CVal.isAllOnesValue(); in isConstTrueVal()
DSelectionDAG.cpp2186 const APInt &CVal = CV->getAPIntValue(); in GetDemandedBits() local
2187 APInt NewVal = CVal & DemandedBits; in GetDemandedBits()
2188 if (NewVal != CVal) in GetDemandedBits()
DDAGCombiner.cpp13425 APFloat CVal = CFP1->getValueAPF(); in visitFNEG() local
13426 CVal.changeSign(); in visitFNEG()
13427 if (LegalDAG && (TLI.isFPImmLegal(CVal, VT, ForCodeSize) || in visitFNEG()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp974 Constant *CVal = nullptr; in LowerConstantPool() local
980 CVal = convert_i1_to_i8(ConstVal); in LowerConstantPool()
981 isVTi1Type = (CVal != nullptr); in LowerConstantPool()
994 T = DAG.getTargetConstantPool(CVal, ValTy, Align, Offset, TF); in LowerConstantPool()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp518 const ConstantInt *CVal = dyn_cast<ConstantInt>(val); in IsConstantOne() local
519 return CVal && CVal->isOne(); in IsConstantOne()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp4164 if (Constant *CVal = dyn_cast<Constant>(Val)) in SimplifyInsertValueInst() local
4165 return ConstantFoldInsertValueInstruction(CAgg, CVal, Idxs); in SimplifyInsertValueInst()