Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.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.h145 const Constant *CVal; // Constant being loaded. variable
187 return CVal; in getPromotedGlobalInit()
207 return CVal == A->CVal && ARMConstantPoolValue::equals(A); in equals()
DARMISelLowering.cpp13760 int CVal = (int) CVal64; in LowerAsmOperandForConstraint() local
13763 if (CVal != CVal64) in LowerAsmOperandForConstraint()
13771 if (CVal >= 0 && CVal <= 65535) in LowerAsmOperandForConstraint()
13778 if (CVal >= 0 && CVal <= 255) in LowerAsmOperandForConstraint()
13783 if (ARM_AM::getT2SOImmVal(CVal) != -1) in LowerAsmOperandForConstraint()
13788 if (ARM_AM::getSOImmVal(CVal) != -1) in LowerAsmOperandForConstraint()
13799 if (CVal >= -255 && CVal <= -1) in LowerAsmOperandForConstraint()
13805 if (CVal >= -4095 && CVal <= 4095) in LowerAsmOperandForConstraint()
13816 if (CVal != 0 && ARM_AM::isThumbImmShiftedVal(CVal)) in LowerAsmOperandForConstraint()
13824 if (ARM_AM::getT2SOImmVal(~CVal) != -1) in LowerAsmOperandForConstraint()
[all …]
/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-7.0/llvm/lib/Target/ARC/
DARCISelDAGToDAG.cpp173 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()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dstore-constant.ll3 @CVal = external local_unnamed_addr global i8, align 1
56 store i8 -7, i8* @CVal, align 1
72 store i8 8, i8* @CVal, align 1
173 store i8 -1, i8* @CVal, align 1
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineFunction.cpp828 Constant *CVal = cast<Constant>(Val); in addLandingPadInfo() local
830 for (User::op_iterator II = CVal->op_begin(), IE = CVal->op_end(); in addLandingPadInfo()
/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp1564 uint32_t CVal = C->getZExtValue(); in SelectS_BFEFromShifts() local
1566 if (0 < BVal && BVal <= CVal && CVal < 32) { in SelectS_BFEFromShifts()
1570 ReplaceNode(N, getS_BFE(Opcode, SDLoc(N), Shl.getOperand(0), CVal - BVal, in SelectS_BFEFromShifts()
1571 32 - CVal)); in SelectS_BFEFromShifts()
DAMDGPUISelLowering.cpp3739 uint64_t CVal = C->getZExtValue(); in PerformDAGCombine() local
3741 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine()
3742 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine()
3749 uint64_t CVal = Val.getZExtValue(); in PerformDAGCombine() local
3751 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine()
3752 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine()
3847 if (ConstantSDNode *CVal = dyn_cast<ConstantSDNode>(BitsFrom)) { in PerformDAGCombine() local
3850 CVal->getSExtValue(), in PerformDAGCombine()
3857 CVal->getZExtValue(), in PerformDAGCombine()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5564 uint64_t CVal = C->getZExtValue(); in LowerAsmOperandForConstraint() local
5573 if (isUInt<12>(CVal) || isShiftedUInt<12, 12>(CVal)) in LowerAsmOperandForConstraint()
5579 CVal = C->getSExtValue(); in LowerAsmOperandForConstraint()
5592 if (AArch64_AM::isLogicalImmediate(CVal, 32)) in LowerAsmOperandForConstraint()
5596 if (AArch64_AM::isLogicalImmediate(CVal, 64)) in LowerAsmOperandForConstraint()
5606 if (!isUInt<32>(CVal)) in LowerAsmOperandForConstraint()
5608 if (AArch64_AM::isLogicalImmediate(CVal, 32)) in LowerAsmOperandForConstraint()
5610 if ((CVal & 0xFFFF) == CVal) in LowerAsmOperandForConstraint()
5612 if ((CVal & 0xFFFF0000ULL) == CVal) in LowerAsmOperandForConstraint()
5614 uint64_t NCVal = ~(uint32_t)CVal; in LowerAsmOperandForConstraint()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1721 APInt CVal; in isConstTrueVal() local
1723 CVal = CN->getAPIntValue(); in isConstTrueVal()
1732 CVal = CN->getAPIntValue(); in isConstTrueVal()
1733 if (BVEltWidth < CVal.getBitWidth()) in isConstTrueVal()
1734 CVal = CVal.trunc(BVEltWidth); in isConstTrueVal()
1741 return CVal[0]; in isConstTrueVal()
1743 return CVal.isOneValue(); in isConstTrueVal()
1745 return CVal.isAllOnesValue(); in isConstTrueVal()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1787 unsigned CVal = 0; in ParseIntelInlineAsmOperator() local
1790 case IOK_LENGTH: CVal = Info.Var.Length; break; in ParseIntelInlineAsmOperator()
1791 case IOK_SIZE: CVal = Info.Var.Size; break; in ParseIntelInlineAsmOperator()
1792 case IOK_TYPE: CVal = Info.Var.Type; break; in ParseIntelInlineAsmOperator()
1795 return CVal; in ParseIntelInlineAsmOperator()
/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp204 const APInt *BVal, *CVal; in MaintainNoSignedWrap() local
205 if (!match(B, m_APInt(BVal)) || !match(C, m_APInt(CVal))) in MaintainNoSignedWrap()
210 (void)BVal->sadd_ov(*CVal, Overflow); in MaintainNoSignedWrap()
212 (void)BVal->ssub_ov(*CVal, Overflow); in MaintainNoSignedWrap()
DInstCombineCompares.cpp3904 const APInt &CVal = CI->getValue(); in processUMulZExtIdiom() local
3905 if (CVal.getBitWidth() - CVal.countLeadingZeros() > MulWidth) in processUMulZExtIdiom()
3942 const APInt &CVal = CI->getValue() + 1; in processUMulZExtIdiom() local
3943 if (CVal.isPowerOf2()) { in processUMulZExtIdiom()
3944 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()

12