| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMConstantPoolValue.cpp | 128 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()
|
| H A D | ARMConstantPoolValue.h | 145 const Constant *CVal; // Constant being loaded. variable 187 return CVal; in getPromotedGlobalInit() 207 return CVal == A->CVal && ARMConstantPoolValue::equals(A); in equals()
|
| H A D | ARMISelLowering.cpp | 13926 if (CVal != CVal64) in LowerAsmOperandForConstraint() 13934 if (CVal >= 0 && CVal <= 65535) in LowerAsmOperandForConstraint() 13941 if (CVal >= 0 && CVal <= 255) in LowerAsmOperandForConstraint() 13962 if (CVal >= -255 && CVal <= -1) in LowerAsmOperandForConstraint() 13968 if (CVal >= -4095 && CVal <= 4095) in LowerAsmOperandForConstraint() 13979 if (CVal != 0 && ARM_AM::isThumbImmShiftedVal(CVal)) in LowerAsmOperandForConstraint() 14004 if (CVal >= -7 && CVal < 7) in LowerAsmOperandForConstraint() 14029 if ((CVal >= 0 && CVal <= 1020) && ((CVal & 3) == 0)) in LowerAsmOperandForConstraint() 14035 if ((CVal >= 0 && CVal <= 32) || ((CVal & (CVal - 1)) == 0)) in LowerAsmOperandForConstraint() 14043 if (CVal >= 0 && CVal <= 31) in LowerAsmOperandForConstraint() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARC/ |
| H A D | ARCISelDAGToDAG.cpp | 173 uint64_t CVal = cast<ConstantSDNode>(N)->getZExtValue(); in Select() local 175 isInt<12>(CVal) ? ARC::MOV_rs12 : ARC::MOV_rlimm, in Select() 177 CurDAG->getTargetConstant(CVal, SDLoc(N), MVT::i32))); in Select()
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 383 const ConstantInt *CVal = in getArithmeticInstrCost() local 387 if (CVal != nullptr && in getArithmeticInstrCost() 388 (CVal->getValue().isPowerOf2() || (-CVal->getValue()).isPowerOf2())) in getArithmeticInstrCost()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | MachineFunction.cpp | 655 auto *CVal = cast<Constant>(Val); in addLandingPad() local 657 for (User::op_iterator II = CVal->op_begin(), IE = CVal->op_end(); in addLandingPad()
|
| H A D | CodeGenPrepare.cpp | 3983 const APInt &CVal = CI->getValue(); in matchOperationAddr() local 3984 if (CVal.getMinSignedBits() <= 64) { in matchOperationAddr() 3985 ConstantOffset += CVal.getSExtValue() * TypeSize; in matchOperationAddr()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelDAGToDAG.cpp | 1497 uint32_t CVal = C->getZExtValue(); in SelectS_BFEFromShifts() local 1499 if (0 < BVal && BVal <= CVal && CVal < 32) { in SelectS_BFEFromShifts() 1503 ReplaceNode(N, getS_BFE(Opcode, SDLoc(N), Shl.getOperand(0), CVal - BVal, in SelectS_BFEFromShifts() 1504 32 - CVal)); in SelectS_BFEFromShifts()
|
| H A D | AMDGPUISelLowering.cpp | 3830 uint64_t CVal = C->getZExtValue(); in PerformDAGCombine() local 3832 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine() 3833 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine() 3841 uint64_t CVal = Val.getZExtValue(); in PerformDAGCombine() local 3843 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine() 3844 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine() 3938 if (ConstantSDNode *CVal = dyn_cast<ConstantSDNode>(BitsFrom)) { in PerformDAGCombine() local 3941 CVal->getSExtValue(), in PerformDAGCombine() 3948 CVal->getZExtValue(), in PerformDAGCombine()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 5785 uint64_t CVal = C->getZExtValue(); in LowerAsmOperandForConstraint() local 5794 if (isUInt<12>(CVal) || isShiftedUInt<12, 12>(CVal)) in LowerAsmOperandForConstraint() 5800 CVal = C->getSExtValue(); in LowerAsmOperandForConstraint() 5827 if (!isUInt<32>(CVal)) in LowerAsmOperandForConstraint() 5831 if ((CVal & 0xFFFF) == CVal) in LowerAsmOperandForConstraint() 5833 if ((CVal & 0xFFFF0000ULL) == CVal) in LowerAsmOperandForConstraint() 5845 if ((CVal & 0xFFFFULL) == CVal) in LowerAsmOperandForConstraint() 5847 if ((CVal & 0xFFFF0000ULL) == CVal) in LowerAsmOperandForConstraint() 5849 if ((CVal & 0xFFFF00000000ULL) == CVal) in LowerAsmOperandForConstraint() 5851 if ((CVal & 0xFFFF000000000000ULL) == CVal) in LowerAsmOperandForConstraint() [all …]
|
| H A D | AArch64InstructionSelector.cpp | 1092 if (auto CVal = getConstantVRegVal(ValReg, MRI)) { in select() local 1093 if (*CVal == 0 && Opcode == TargetOpcode::G_STORE) { in select()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 1792 unsigned CVal = 0; in ParseIntelInlineAsmOperator() local 1795 case IOK_LENGTH: CVal = Info.Var.Length; break; in ParseIntelInlineAsmOperator() 1796 case IOK_SIZE: CVal = Info.Var.Size; break; in ParseIntelInlineAsmOperator() 1797 case IOK_TYPE: CVal = Info.Var.Type; break; in ParseIntelInlineAsmOperator() 1800 return CVal; in ParseIntelInlineAsmOperator()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGException.cpp | 275 llvm::Constant *CVal = cast<llvm::Constant>(Val); in LandingPadHasOnlyCXXUses() local 277 II = CVal->op_begin(), IE = CVal->op_end(); II != IE; ++II) { in LandingPadHasOnlyCXXUses()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 211 const APInt *BVal, *CVal; in MaintainNoSignedWrap() local 212 if (!match(B, m_APInt(BVal)) || !match(C, m_APInt(CVal))) in MaintainNoSignedWrap() 217 (void)BVal->sadd_ov(*CVal, Overflow); in MaintainNoSignedWrap() 219 (void)BVal->ssub_ov(*CVal, Overflow); in MaintainNoSignedWrap()
|
| H A D | InstCombineCompares.cpp | 3981 const APInt &CVal = CI->getValue(); in processUMulZExtIdiom() local 3982 if (CVal.getBitWidth() - CVal.countLeadingZeros() > MulWidth) in processUMulZExtIdiom() 4019 const APInt &CVal = CI->getValue() + 1; in processUMulZExtIdiom() local 4020 if (CVal.isPowerOf2()) { in processUMulZExtIdiom() 4021 unsigned MaskWidth = CVal.logBase2(); in processUMulZExtIdiom()
|
| H A D | InstCombineCalls.cpp | 3455 const ConstantFP *CVal = dyn_cast<ConstantFP>(Src0); in visitCallInst() local 3456 if (!CVal) { in visitCallInst() 3473 const APFloat &Val = CVal->getValueAPF(); in visitCallInst()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 1973 APInt CVal; in isConstTrueVal() local 1975 CVal = CN->getAPIntValue(); in isConstTrueVal() 1984 CVal = CN->getAPIntValue(); in isConstTrueVal() 1985 if (BVEltWidth < CVal.getBitWidth()) in isConstTrueVal() 1986 CVal = CVal.trunc(BVEltWidth); in isConstTrueVal() 1993 return CVal[0]; in isConstTrueVal() 1995 return CVal.isOneValue(); in isConstTrueVal() 1997 return CVal.isAllOnesValue(); in isConstTrueVal()
|
| H A D | SelectionDAG.cpp | 2073 const APInt &CVal = CV->getAPIntValue(); in GetDemandedBits() local 2074 APInt NewVal = CVal & Mask; in GetDemandedBits() 2075 if (NewVal != CVal) in GetDemandedBits()
|
| H A D | DAGCombiner.cpp | 12287 APFloat CVal = CFP1->getValueAPF(); in visitFNEG() local 12288 CVal.changeSign(); in visitFNEG() 12290 (TLI.isFPImmLegal(CVal, VT) || in visitFNEG()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.cpp | 915 Constant *CVal = nullptr; in LowerConstantPool() local 921 CVal = convert_i1_to_i8(ConstVal); in LowerConstantPool() 922 isVTi1Type = (CVal != nullptr); in LowerConstantPool() 935 T = DAG.getTargetConstantPool(CVal, ValTy, Align, Offset, TF); in LowerConstantPool()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporterVisitors.cpp | 1082 } else if (auto CVal = V.getAs<nonloc::ConcreteInt>()) { in showBRDiagnostics() local 1083 os << action << CVal->getValue(); in showBRDiagnostics()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Instructions.cpp | 454 const ConstantInt *CVal = dyn_cast<ConstantInt>(val); in IsConstantOne() local 455 return CVal && CVal->isOne(); in IsConstantOne()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 4172 if (Constant *CVal = dyn_cast<Constant>(Val)) in SimplifyInsertValueInst() local 4173 return ConstantFoldInsertValueInstruction(CAgg, CVal, Idxs); in SimplifyInsertValueInst()
|