Home
last modified time | relevance | path

Searched refs:CInt (Results 1 – 25 of 32) sorted by relevance

12

/external/clang/test/Sema/
Dcast.c24 typedef _Complex int CInt; typedef
37 (void) (CInt) v; in testBool()
51 (void) (CInt) v; in testInt()
73 (void) (CInt) v; in testLong()
87 (void) (CInt) v; in testFloat()
99 (void) (CInt) v; in testDouble()
105 void testCI(CInt v) { in testCI()
111 (void) (CInt) v; in testCI()
123 (void) (CInt) v; in testCLong()
135 (void) (CInt) v; in testCFloat()
[all …]
/external/llvm-project/clang/test/Sema/
Dcast.c24 typedef _Complex int CInt; typedef
37 (void) (CInt) v; in testBool()
51 (void) (CInt) v; in testInt()
73 (void) (CInt) v; in testLong()
87 (void) (CInt) v; in testFloat()
99 (void) (CInt) v; in testDouble()
105 void testCI(CInt v) { in testCI()
111 (void) (CInt) v; in testCI()
123 (void) (CInt) v; in testCLong()
135 (void) (CInt) v; in testCFloat()
[all …]
Ddllexport-2.cpp14 typedef const int CInt; typedef
21 __declspec(dllexport) CInt j2; //expected-error {{default initialization of an object of const type…
26 __declspec(dllexport) CInt j3 = 3;
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp271 auto CInt = dyn_cast<ConstantInt>(Arg1); in simplifyX86immShift() local
272 if (!CAZ && !CDV && !CInt) in simplifyX86immShift()
292 else if (CInt) in simplifyX86immShift()
293 Count = CInt->getValue(); in simplifyX86immShift()
466 auto *CInt = dyn_cast<ConstantInt>(COp); in simplifyX86movmsk() local
468 if (!CInt && !CFp) in simplifyX86movmsk()
471 if ((CInt && CInt->isNegative()) || (CFp && CFp->isNegative())) in simplifyX86movmsk()
480 auto *CInt = dyn_cast<ConstantInt>(II.getArgOperand(2)); in simplifyX86insertps() local
481 if (!CInt) in simplifyX86insertps()
492 uint8_t Imm = CInt->getZExtValue(); in simplifyX86insertps()
[all …]
DInstructionCombining.cpp534 const APInt *CInt; in tryFactorization() local
537 if (match(V, m_APInt(CInt)) && !CInt->isMinSignedValue()) in tryFactorization()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp136 ConstantInt *CInt = dyn_cast<ConstantInt>(BinOp->getOperand(1)); in handlePhiDef() local
137 if (!CInt) in handlePhiDef()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp154 ConstantInt *CInt = dyn_cast<ConstantInt>(BinOp->getOperand(1)); in handlePhiDef() local
155 if (!CInt) in handlePhiDef()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp366 auto CInt = dyn_cast<ConstantInt>(Arg1); in simplifyX86immShift() local
367 if (!CAZ && !CDV && !CInt) in simplifyX86immShift()
387 else if (CInt) in simplifyX86immShift()
388 Count = CInt->getValue(); in simplifyX86immShift()
675 auto *CInt = dyn_cast<ConstantInt>(II.getArgOperand(2)); in simplifyX86insertps() local
676 if (!CInt) in simplifyX86insertps()
687 uint8_t Imm = CInt->getZExtValue(); in simplifyX86insertps()
DInstructionCombining.cpp641 const APInt *CInt; in tryFactorization() local
642 if (match(V, m_APInt(CInt))) { in tryFactorization()
643 if (!CInt->isMinSignedValue()) in tryFactorization()
/external/llvm-project/llvm/lib/Target/X86/
DX86InstCombineIntrinsic.cpp563 auto *CInt = dyn_cast<ConstantInt>(II.getArgOperand(2)); in simplifyX86insertps() local
564 if (!CInt) in simplifyX86insertps()
575 uint8_t Imm = CInt->getZExtValue(); in simplifyX86insertps()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1638 ConstantInt *CInt = nullptr; in getEntryCost() local
1646 CInt = cast<ConstantInt>(I->getOperand(1)); in getEntryCost()
1650 CInt != cast<ConstantInt>(I->getOperand(1))) in getEntryCost()
1655 if (Op2VK == TargetTransformInfo::OK_UniformConstantValue && CInt && in getEntryCost()
1656 CInt->getValue().isPowerOf2()) in getEntryCost()
DLoopVectorize.cpp5879 ConstantInt *CInt = cast<ConstantInt>(Op2); in getInstructionCost() local
5880 if (CInt && CInt->getValue().isPowerOf2()) in getInstructionCost()
5887 ConstantInt *CInt = dyn_cast<ConstantInt>(SplatValue); in getInstructionCost() local
5888 if (CInt && CInt->getValue().isPowerOf2()) in getInstructionCost()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1804 const APInt &CInt = C->getAPIntValue(); in getPowerOf2Factor() local
1805 if (CInt.getBoolValue()) in getPowerOf2Factor()
1806 MaxFactor = CInt.countTrailingZeros(); in getPowerOf2Factor()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1811 const APInt &CInt = C->getAPIntValue(); in getPowerOf2Factor() local
1812 if (CInt.getBoolValue()) in getPowerOf2Factor()
1813 MaxFactor = CInt.countTrailingZeros(); in getPowerOf2Factor()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp683 const APInt *CInt; in tryFactorization() local
684 if (match(V, m_APInt(CInt))) { in tryFactorization()
685 if (!CInt->isMinSignedValue()) in tryFactorization()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3428 ConstantInt *CInt = dyn_cast<ConstantInt>(I->getOperand(OpIdx)); in getEntryCost() local
3429 if (!CInt) { in getEntryCost()
3435 !CInt->getValue().isPowerOf2()) in getEntryCost()
3438 CInt0 = CInt; in getEntryCost()
3441 if (CInt0 != CInt) in getEntryCost()
DLoopVectorize.cpp4202 auto *CInt = dyn_cast<ConstantInt>(Divisor); in mayDivideByZero() local
4203 return !CInt || CInt->isZero(); in mayDivideByZero()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3670 ConstantInt *CInt = dyn_cast<ConstantInt>(I->getOperand(OpIdx)); in getEntryCost() local
3671 if (!CInt) { in getEntryCost()
3677 !CInt->getValue().isPowerOf2()) in getEntryCost()
3680 CInt0 = CInt; in getEntryCost()
3683 if (CInt0 != CInt) in getEntryCost()
DLoopVectorize.cpp4728 auto *CInt = dyn_cast<ConstantInt>(Divisor); in mayDivideByZero() local
4729 return !CInt || CInt->isZero(); in mayDivideByZero()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3037 if (auto *CInt = dyn_cast<ConstantInt>(Elt)) { in computeKnownBits() local
3038 const APInt &Value = CInt->getValue(); in computeKnownBits()
3055 if (auto *CInt = dyn_cast<ConstantInt>(Cst)) { in computeKnownBits() local
3056 const APInt &Value = CInt->getValue(); in computeKnownBits()
4011 if (auto *CInt = dyn_cast<ConstantInt>(Elt)) { in ComputeNumSignBits() local
4012 const APInt &Value = CInt->getValue(); in ComputeNumSignBits()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp2317 if (ConstantInt *CInt = dyn_cast<ConstantInt>(CI->getArgOperand(2))) { in optimizeStrtol() local
2318 return convertStrToNumber(CI, Str, CInt->getSExtValue()); in optimizeStrtol()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp2322 if (ConstantInt *CInt = dyn_cast<ConstantInt>(CI->getArgOperand(2))) { in optimizeStrtol() local
2323 return convertStrToNumber(CI, Str, CInt->getSExtValue()); in optimizeStrtol()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3061 if (auto *CInt = dyn_cast<ConstantInt>(Elt)) { in computeKnownBits() local
3062 const APInt &Value = CInt->getValue(); in computeKnownBits()
3079 if (auto *CInt = dyn_cast<ConstantInt>(Cst)) { in computeKnownBits() local
3080 const APInt &Value = CInt->getValue(); in computeKnownBits()
3971 if (auto *CInt = dyn_cast<ConstantInt>(Elt)) { in ComputeNumSignBits() local
3972 const APInt &Value = CInt->getValue(); in ComputeNumSignBits()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2165 const APInt &CInt = C->getAPIntValue(); in skipExtensionForVectorMULL() local
2168 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in skipExtensionForVectorMULL()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp6605 const APInt &CInt = C->getAPIntValue(); in SkipExtensionForVMULL() local
6608 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in SkipExtensionForVMULL()

12