/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMConstantPoolValue.cpp | 115 CVal(C) {} in ARMConstantPoolConstant() 125 CVal(C) {} in ARMConstantPoolConstant() 158 return dyn_cast_or_null<GlobalValue>(CVal); in getGV() 162 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress() 176 if (APC->CVal == CVal && equals(APC)) in getExistingMachineCPValue() 186 return ACPC && ACPC->CVal == CVal && ARMConstantPoolValue::hasSameValue(ACPV); in hasSameValue() 190 ID.AddPointer(CVal); in addSelectionDAGCSEId() 195 O << CVal->getName(); in print()
|
D | ARMISelLowering.cpp | 8578 int CVal = (int) CVal64; in LowerAsmOperandForConstraint() local 8581 if (CVal != CVal64) in LowerAsmOperandForConstraint() 8589 if (CVal >= 0 && CVal <= 65535) in LowerAsmOperandForConstraint() 8596 if (CVal >= 0 && CVal <= 255) in LowerAsmOperandForConstraint() 8601 if (ARM_AM::getT2SOImmVal(CVal) != -1) in LowerAsmOperandForConstraint() 8606 if (ARM_AM::getSOImmVal(CVal) != -1) in LowerAsmOperandForConstraint() 8617 if (CVal >= -255 && CVal <= -1) in LowerAsmOperandForConstraint() 8623 if (CVal >= -4095 && CVal <= 4095) in LowerAsmOperandForConstraint() 8634 if (CVal != 0 && ARM_AM::isThumbImmShiftedVal(CVal)) in LowerAsmOperandForConstraint() 8642 if (ARM_AM::getT2SOImmVal(~CVal) != -1) in LowerAsmOperandForConstraint() [all …]
|
D | ARMConstantPoolValue.h | 117 const Constant *CVal; // Constant being loaded. variable
|
/external/llvm/lib/Target/ARM/ |
D | ARMConstantPoolValue.cpp | 120 CVal(C) {} in ARMConstantPoolConstant() 130 CVal(C) {} in ARMConstantPoolConstant() 163 return dyn_cast_or_null<GlobalValue>(CVal); in getGV() 167 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress() 177 return ACPC && ACPC->CVal == CVal && ARMConstantPoolValue::hasSameValue(ACPV); in hasSameValue() 181 ID.AddPointer(CVal); in addSelectionDAGCSEId() 186 O << CVal->getName(); in print()
|
D | ARMConstantPoolValue.h | 134 const Constant *CVal; // Constant being loaded. variable 180 return CVal == A->CVal && ARMConstantPoolValue::equals(A); in equals()
|
D | ARMISelLowering.cpp | 11862 int CVal = (int) CVal64; in LowerAsmOperandForConstraint() local 11865 if (CVal != CVal64) in LowerAsmOperandForConstraint() 11873 if (CVal >= 0 && CVal <= 65535) in LowerAsmOperandForConstraint() 11880 if (CVal >= 0 && CVal <= 255) in LowerAsmOperandForConstraint() 11885 if (ARM_AM::getT2SOImmVal(CVal) != -1) in LowerAsmOperandForConstraint() 11890 if (ARM_AM::getSOImmVal(CVal) != -1) in LowerAsmOperandForConstraint() 11901 if (CVal >= -255 && CVal <= -1) in LowerAsmOperandForConstraint() 11907 if (CVal >= -4095 && CVal <= 4095) in LowerAsmOperandForConstraint() 11918 if (CVal != 0 && ARM_AM::isThumbImmShiftedVal(CVal)) in LowerAsmOperandForConstraint() 11926 if (ARM_AM::getT2SOImmVal(~CVal) != -1) in LowerAsmOperandForConstraint() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 476 Constant *CVal = cast<Constant>(Val); in AddLandingPadInfo() local 479 II = CVal->op_begin(), IE = CVal->op_end(); II != IE; ++II) in AddLandingPadInfo()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 588 Constant *CVal = cast<Constant>(Val); in AddLandingPadInfo() local 591 II = CVal->op_begin(), IE = CVal->op_end(); II != IE; ++II) in AddLandingPadInfo()
|
D | DAGCombiner.cpp | 6730 const APInt &CVal = CV->getAPIntValue(); in GetDemandedBits() local 6731 APInt NewVal = CVal & Mask; in GetDemandedBits() 6732 if (NewVal != CVal) in GetDemandedBits() 9333 APFloat CVal = CFP1->getValueAPF(); in visitFNEG() local 9334 CVal.changeSign(); in visitFNEG() 9336 (TLI.isFPImmLegal(CVal, VT) || in visitFNEG()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 1240 uint32_t CVal = C->getZExtValue(); in SelectS_BFEFromShifts() local 1242 if (0 < BVal && BVal <= CVal && CVal < 32) { in SelectS_BFEFromShifts() 1246 ReplaceNode(N, getS_BFE(Opcode, SDLoc(N), Shl.getOperand(0), CVal - BVal, in SelectS_BFEFromShifts() 1247 32 - CVal)); in SelectS_BFEFromShifts()
|
D | AMDGPUISelLowering.cpp | 2582 uint64_t CVal = C->getZExtValue(); in PerformDAGCombine() local 2584 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine() 2585 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine() 2591 uint64_t CVal = Val.getZExtValue(); in PerformDAGCombine() local 2593 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine() 2594 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine() 2681 if (ConstantSDNode *CVal = dyn_cast<ConstantSDNode>(BitsFrom)) { in PerformDAGCombine() local 2684 CVal->getSExtValue(), in PerformDAGCombine() 2691 CVal->getZExtValue(), in PerformDAGCombine()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ConstantFold.cpp | 762 if (ConstantVector *CVal = dyn_cast<ConstantVector>(Val)) { in ConstantFoldExtractElementInstruction() local 765 if (Index >= CVal->getNumOperands()) in ConstantFoldExtractElementInstruction() 768 return CVal->getOperand(CIdx->getZExtValue()); in ConstantFoldExtractElementInstruction() 819 if (ConstantVector *CVal = dyn_cast<ConstantVector>(Val)) { in ConstantFoldInsertElementInstruction() local 822 Ops.reserve(CVal->getNumOperands()); in ConstantFoldInsertElementInstruction() 823 for (unsigned i = 0; i < CVal->getNumOperands(); ++i) { in ConstantFoldInsertElementInstruction() 825 (idxVal == i) ? Elt : cast<Constant>(CVal->getOperand(i)); in ConstantFoldInsertElementInstruction()
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 1763 unsigned CVal = 0; in ParseIntelOperator() local 1766 case IOK_LENGTH: CVal = Info.Length; break; in ParseIntelOperator() 1767 case IOK_SIZE: CVal = Info.Size; break; in ParseIntelOperator() 1768 case IOK_TYPE: CVal = Info.Type; break; in ParseIntelOperator() 1774 InstInfo->AsmRewrites->emplace_back(AOK_Imm, TypeLoc, Len, CVal); in ParseIntelOperator() 1776 const MCExpr *Imm = MCConstantExpr::create(CVal, getContext()); in ParseIntelOperator()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 4793 uint64_t CVal = C->getZExtValue(); in LowerAsmOperandForConstraint() local 4802 if (isUInt<12>(CVal) || isShiftedUInt<12, 12>(CVal)) in LowerAsmOperandForConstraint() 4808 CVal = C->getSExtValue(); in LowerAsmOperandForConstraint() 4821 if (AArch64_AM::isLogicalImmediate(CVal, 32)) in LowerAsmOperandForConstraint() 4825 if (AArch64_AM::isLogicalImmediate(CVal, 64)) in LowerAsmOperandForConstraint() 4835 if (!isUInt<32>(CVal)) in LowerAsmOperandForConstraint() 4837 if (AArch64_AM::isLogicalImmediate(CVal, 32)) in LowerAsmOperandForConstraint() 4839 if ((CVal & 0xFFFF) == CVal) in LowerAsmOperandForConstraint() 4841 if ((CVal & 0xFFFF0000ULL) == CVal) in LowerAsmOperandForConstraint() 4843 uint64_t NCVal = ~(uint32_t)CVal; in LowerAsmOperandForConstraint() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGException.cpp | 251 llvm::Constant *CVal = cast<llvm::Constant>(Val); in LandingPadHasOnlyCXXUses() local 253 II = CVal->op_begin(), IE = CVal->op_end(); II != IE; ++II) { in LandingPadHasOnlyCXXUses()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 138 const APInt &CVal = CC->getValue(); in MaintainNoSignedWrap() local 142 BVal.sadd_ov(CVal, Overflow); in MaintainNoSignedWrap() 144 BVal.ssub_ov(CVal, Overflow); in MaintainNoSignedWrap()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 137 const APInt *BVal, *CVal; in MaintainNoSignedWrap() local 138 if (!match(B, m_APInt(BVal)) || !match(C, m_APInt(CVal))) in MaintainNoSignedWrap() 143 BVal->sadd_ov(*CVal, Overflow); in MaintainNoSignedWrap() 145 BVal->ssub_ov(*CVal, Overflow); in MaintainNoSignedWrap()
|
D | InstCombineCompares.cpp | 2736 const APInt &CVal = CI->getValue(); in ProcessUMulZExtIdiom() local 2737 if (CVal.getBitWidth() - CVal.countLeadingZeros() > MulWidth) in ProcessUMulZExtIdiom() 2769 const APInt &CVal = CI->getValue() + 1; in ProcessUMulZExtIdiom() local 2770 if (CVal.isPowerOf2()) { in ProcessUMulZExtIdiom() 2771 unsigned MaskWidth = CVal.logBase2(); in ProcessUMulZExtIdiom()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporterVisitors.cpp | 598 } else if (Optional<nonloc::ConcreteInt> CVal = in VisitNode() local 600 os << action << CVal->getValue(); in VisitNode()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 2280 if (Constant *CVal = dyn_cast<Constant>(Val)) in SimplifyInsertValueInst() local 2281 return ConstantFoldInsertValueInstruction(CAgg, CVal, Idxs); in SimplifyInsertValueInst()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 437 const ConstantInt *CVal = dyn_cast<ConstantInt>(val); in IsConstantOne() local 438 return CVal && CVal->isOne(); in IsConstantOne()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 3611 if (Constant *CVal = dyn_cast<Constant>(Val)) in SimplifyInsertValueInst() local 3612 return ConstantFoldInsertValueInstruction(CAgg, CVal, Idxs); in SimplifyInsertValueInst()
|