Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMConstantPoolValue.cpp115 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()
DARMISelLowering.cpp8578 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 …]
DARMConstantPoolValue.h117 const Constant *CVal; // Constant being loaded. variable
/external/llvm/lib/Target/ARM/
DARMConstantPoolValue.cpp120 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()
DARMConstantPoolValue.h134 const Constant *CVal; // Constant being loaded. variable
180 return CVal == A->CVal && ARMConstantPoolValue::equals(A); in equals()
DARMISelLowering.cpp11862 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/
DFunctionLoweringInfo.cpp476 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/
DFunctionLoweringInfo.cpp588 Constant *CVal = cast<Constant>(Val); in AddLandingPadInfo() local
591 II = CVal->op_begin(), IE = CVal->op_end(); II != IE; ++II) in AddLandingPadInfo()
DDAGCombiner.cpp6730 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/
DAMDGPUISelDAGToDAG.cpp1240 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()
DAMDGPUISelLowering.cpp2582 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/
DConstantFold.cpp762 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/
DX86AsmParser.cpp1763 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/
DAArch64ISelLowering.cpp4793 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/
DCGException.cpp251 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/
DInstructionCombining.cpp138 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/
DInstructionCombining.cpp137 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()
DInstCombineCompares.cpp2736 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/
DBugReporterVisitors.cpp598 } else if (Optional<nonloc::ConcreteInt> CVal = in VisitNode() local
600 os << action << CVal->getValue(); in VisitNode()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp2280 if (Constant *CVal = dyn_cast<Constant>(Val)) in SimplifyInsertValueInst() local
2281 return ConstantFoldInsertValueInstruction(CAgg, CVal, Idxs); in SimplifyInsertValueInst()
/external/llvm/lib/IR/
DInstructions.cpp437 const ConstantInt *CVal = dyn_cast<ConstantInt>(val); in IsConstantOne() local
438 return CVal && CVal->isOne(); in IsConstantOne()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp3611 if (Constant *CVal = dyn_cast<Constant>(Val)) in SimplifyInsertValueInst() local
3612 return ConstantFoldInsertValueInstruction(CAgg, CVal, Idxs); in SimplifyInsertValueInst()