Searched refs:isIntegerTy (Results 1 - 25 of 76) sorted by relevance

1234

/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp169 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
172 if (FTy->getParamType(0)->isIntegerTy(32) &&
187 if (FTy->getParamType(0)->isIntegerTy(32) &&
200 FTy->getParamType(0)->isIntegerTy(32)) {
/external/llvm/lib/Transforms/Scalar/
H A DSimplifyLibCalls.cpp199 !FT->getParamType(2)->isIntegerTy())
245 !FT->getParamType(1)->isIntegerTy(32))
258 if (Len == 0 || !FT->getParamType(1)->isIntegerTy(32))// memchr needs i32.
294 !FT->getParamType(1)->isIntegerTy(32))
331 !FT->getReturnType()->isIntegerTy(32) ||
379 !FT->getReturnType()->isIntegerTy(32) ||
382 !FT->getParamType(2)->isIntegerTy())
520 !FT->getParamType(2)->isIntegerTy())
568 !FT->getReturnType()->isIntegerTy())
655 !FT->getReturnType()->isIntegerTy())
[all...]
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp145 if (Tp->isIntegerTy()) {
167 if (Tp->isIntegerTy()) {
363 case 0: if (Ty->getScalarType()->isIntegerTy())
365 case 1: if (Ty->getScalarType()->isIntegerTy())
387 if (Ty->isIntegerTy()) {
389 case 0: if (Ty->isIntegerTy())
392 case 1: if (Ty->isIntegerTy())
396 case 6: if (Ty->isIntegerTy())
506 if (VTy->getScalarType()->isIntegerTy() &&
507 DestTy->getScalarType()->isIntegerTy()) {
[all...]
/external/llvm/include/llvm/
H A DType.h178 /// isIntegerTy - True if this is an instance of IntegerType.
180 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } function in class:llvm::Type
182 /// isIntegerTy - Return true if this is an IntegerType of the given width.
183 bool isIntegerTy(unsigned Bitwidth) const;
/external/llvm/lib/VMCore/
H A DType.cpp50 /// isIntegerTy - Return true if this is an IntegerType of the specified width.
51 bool Type::isIntegerTy(unsigned Bitwidth) const { function in class:Type
52 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth;
59 if (isIntegerTy())
63 return cast<VectorType>(this)->getElementType()->isIntegerTy();
176 if (this->isIntegerTy())
676 if (V->getType()->isIntegerTy(32))
683 return V->getType()->isIntegerTy();
749 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy();
H A DInstructions.cpp705 assert(getCondition()->getType()->isIntegerTy(1) &&
806 assert(Amt->getType()->isIntegerTy() &&
1464 if (!Val->getType()->isVectorTy() || !Index->getType()->isIntegerTy(32))
1511 if (!Index->getType()->isIntegerTy(32))
1564 if (MaskTy == 0 || !MaskTy->getElementType()->isIntegerTy(32))
1778 assert((getType()->isIntegerTy() || (getType()->isVectorTy() &&
1779 cast<VectorType>(getType())->getElementType()->isIntegerTy())) &&
1792 assert((getType()->isIntegerTy() || (getType()->isVectorTy() &&
1793 cast<VectorType>(getType())->getElementType()->isIntegerTy())) &&
1807 assert((getType()->isIntegerTy() ||
[all...]
H A DConstants.cpp396 assert(Ty->isIntegerTy(1) && "True must be i1 or vector of i1.");
399 assert(VTy->getElementType()->isIntegerTy(1) &&
408 assert(Ty->isIntegerTy(1) && "False must be i1 or vector of i1.");
411 assert(VTy->getElementType()->isIntegerTy(1) &&
716 if (CI->getType()->isIntegerTy(8)) {
725 } else if (CI->getType()->isIntegerTy(16)) {
734 } else if (CI->getType()->isIntegerTy(32)) {
743 } else if (CI->getType()->isIntegerTy(64)) {
897 if (CI->getType()->isIntegerTy(8)) {
906 } else if (CI->getType()->isIntegerTy(1
[all...]
H A DConstantFold.cpp160 if (DestTy->isIntegerTy())
194 assert(C->getType()->isIntegerTy() &&
365 if (!PTy->getElementType()->isIntegerTy(1))
430 if (!PTy->getElementType()->isIntegerTy(1))
631 STy->getElementType(0)->isIntegerTy(1)) {
1173 if (C1->getType()->isIntegerTy(1)) {
1239 if (!C1->getType()->isIntegerTy(64))
1242 if (!C2->getType()->isIntegerTy(64))
1448 (CE1->getType()->isPointerTy() || CE1->getType()->isIntegerTy())) {
1632 if (C1->getType()->isIntegerTy(
[all...]
H A DIRBuilder.cpp44 if (PT->getElementType()->isIntegerTy(8))
H A DVerifier.cpp439 STy->getTypeAtIndex(0u)->isIntegerTy(32) &&
782 Assert2(BI.getCondition()->getType()->isIntegerTy(1),
1050 Assert1(DestTy->getScalarType()->isIntegerTy(),
1070 Assert1(SrcTy->getScalarType()->isIntegerTy(),
1382 Assert2(ElTy->isIntegerTy(),
1457 Assert2(ElTy->isIntegerTy(),
1479 Assert1(AI.getArraySize()->getType()->isIntegerTy(),
1492 Assert2(ElTy->isIntegerTy(),
1516 Assert2(ElTy->isIntegerTy(),
1744 case IITDescriptor::Integer: return !Ty->isIntegerTy(
[all...]
/external/llvm/lib/ExecutionEngine/JIT/
H A DJIT.cpp406 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
409 if (FTy->getParamType(0)->isIntegerTy(32) &&
424 if (FTy->getParamType(0)->isIntegerTy(32) &&
436 if (FTy->getParamType(0)->isIntegerTy(32)) {
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp308 if (DestPTy->isIntegerTy() || DestPTy->isPointerTy() ||
325 (SrcPTy->isIntegerTy() || SrcPTy->isPointerTy() ||
470 if (!DestPTy->isIntegerTy() && !DestPTy->isPointerTy())
504 if (!SrcPTy->isIntegerTy() && !SrcPTy->isPointerTy())
525 if (CastSrcTy->isIntegerTy())
527 } else if (CastDstTy->isIntegerTy()) {
H A DInstCombineAddSub.cpp38 if (!V->hasOneUse() || !V->getType()->isIntegerTy())
111 if (ZI->getSrcTy()->isIntegerTy(1))
158 if (I.getType()->isIntegerTy(1))
514 if (I.getType()->isIntegerTy(1))
/external/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp167 assert(V->getType()->isIntegerTy() && "Can't bswap a non-integer type!");
263 assert(V->getType()->isIntegerTy() && "Can't ctpop a non-integer type!");
548 !CI->getType()->isIntegerTy())
H A DStackProtector.cpp109 if (!AT->getElementType()->isIntegerTy(8)) {
/external/llvm/lib/Transforms/Utils/
H A DAddrModeMatcher.cpp131 return I->getType()->isPointerTy() || I->getType()->isIntegerTy();
174 AddrInst->getOperand(0)->getType()->isIntegerTy()) &&
H A DLoopUnrollRuntime.cpp249 if (isa<SCEVCouldNotCompute>(BECount) || !BECount->getType()->isIntegerTy())
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp124 (FTy->getParamType(FstParam)->isIntegerTy(32) ||
125 FTy->getParamType(FstParam)->isIntegerTy(64))) &&
127 FTy->getParamType(SndParam)->isIntegerTy(32) ||
128 FTy->getParamType(SndParam)->isIntegerTy(64)))
H A DScalarEvolution.cpp336 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) &&
337 (Ty->isIntegerTy() || Ty->isPointerTy()) &&
344 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) &&
345 (Ty->isIntegerTy() || Ty->isPointerTy()) &&
352 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) &&
353 (Ty->isIntegerTy() || Ty->isPointerTy()) &&
413 STy->getElementType(0)->isIntegerTy(1)) {
2668 return Ty->isIntegerTy() || Ty->isPointerTy();
2681 if (Ty->isIntegerTy())
2697 if (Ty->isIntegerTy())
[all...]
H A DScalarEvolutionExpander.cpp1569 assert(Ty->isIntegerTy() && "Can only insert integer induction variables!");
1589 if (!lhs->getType()->isIntegerTy() || !rhs->getType()->isIntegerTy())
1590 return rhs->getType()->isIntegerTy() && !lhs->getType()->isIntegerTy();
1627 if (Phi->getType()->isIntegerTy() && TLI
/external/llvm/lib/Transforms/Instrumentation/
H A DProfilingUtils.cpp86 if (!AI->getType()->isIntegerTy(32)) {
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp97 cast<ArrayType>(Ty)->getElementType()->isIntegerTy(8)));
267 if (!Ty->isIntegerTy() || Ty->isVectorTy())
/external/llvm/lib/Target/X86/
H A DX86FastISel.cpp990 if (!I->getOperand(0)->getType()->isIntegerTy(1))
1150 if (I->getType()->isIntegerTy(8)) {
1159 } else if (I->getType()->isIntegerTy(16)) {
1168 } else if (I->getType()->isIntegerTy(32)) {
1177 } else if (I->getType()->isIntegerTy(64)) {
1405 if (!MCI.getLength()->getType()->isIntegerTy(SizeWidth))
1420 if (!MSI.getLength()->getType()->isIntegerTy(SizeWidth))
1652 if (ArgVal->getType()->isIntegerTy(1) && isa<TruncInst>(ArgVal) &&
/external/clang/lib/CodeGen/
H A DCodeGenTypes.cpp90 if (!R->isIntegerTy(1))
247 if (!ConvertType(ED->getIntegerType())->isIntegerTy(32))
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp372 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32))
374 if (!FTy->getReturnType()->isIntegerTy() &&
673 assert(DestTy->isIntegerTy(32) && "Invalid bitcast");
677 assert(DestTy->isIntegerTy(64) && "Invalid bitcast");

Completed in 341 milliseconds

1234