Home
last modified time | relevance | path

Searched refs:ITy (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp184 if (IntegerType *ITy = in getKindForGlobal() local
186 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || in getKindForGlobal()
187 ITy->getBitWidth() == 32) && in getKindForGlobal()
189 if (ITy->getBitWidth() == 8) in getKindForGlobal()
191 if (ITy->getBitWidth() == 16) in getKindForGlobal()
194 assert(ITy->getBitWidth() == 32 && "Unknown width"); in getKindForGlobal()
/external/valgrind/memcheck/tests/
Dsh-mem.c134 #define DO(NNN, Ty, ITy, isF4) \ in main() argument
136 NNN, #Ty, #ITy); \ in main()
154 ITy undefN_ITy = (ITy)tmp; \ in main()
159 ITy undefN_ITyDef = undefN_ITy; \ in main()
/external/llvm/include/llvm/IR/
DPatternMatch.h60 template <typename ITy> bool match(ITy *V) { return isa<Class>(V); } in match()
92 template <typename ITy> bool match(ITy *V) { in match()
107 template <typename ITy> bool match(ITy *V) { in match()
128 template <typename ITy> bool match(ITy *V) { in match()
140 template <typename ITy> bool match(ITy *V) { in match()
163 template <typename ITy> bool match(ITy *V) { in match()
183 template <typename ITy> bool match(ITy *V) { in match()
205 template <typename ITy> bool match(ITy *V) { in match()
221 template <typename ITy> bool match(ITy *V) { in match()
286 template <typename ITy> bool match(ITy *V) { in match()
[all …]
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1508 Type *ITy = Op0->getType(); in SimplifyAndOfICmps() local
1520 return getFalse(ITy); in SimplifyAndOfICmps()
1522 return getFalse(ITy); in SimplifyAndOfICmps()
1526 return getFalse(ITy); in SimplifyAndOfICmps()
1528 return getFalse(ITy); in SimplifyAndOfICmps()
1534 return getFalse(ITy); in SimplifyAndOfICmps()
1537 return getFalse(ITy); in SimplifyAndOfICmps()
1667 Type *ITy = Op0->getType(); in SimplifyOrOfICmps() local
1679 return getTrue(ITy); in SimplifyOrOfICmps()
1681 return getTrue(ITy); in SimplifyOrOfICmps()
[all …]
DMemoryDependenceAnalysis.cpp504 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in getPointerDependencyFrom() local
505 if (LI->getAlignment() * 8 > ITy->getPrimitiveSizeInBits() && in getPointerDependencyFrom()
/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp1306 Type *ITy = I->getType(); in ResolvedUndefsIn() local
1321 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1335 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1344 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1352 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn()
1360 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1376 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1384 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn()
1394 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
DSROA.cpp1292 IntegerType *ITy = nullptr; in INITIALIZE_PASS_DEPENDENCY() local
1321 if (!ITy || ITy->getBitWidth() < UserITy->getBitWidth()) in INITIALIZE_PASS_DEPENDENCY()
1322 ITy = UserITy; in INITIALIZE_PASS_DEPENDENCY()
1333 return TyIsCommon ? Ty : ITy; in INITIALIZE_PASS_DEPENDENCY()
2141 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in isIntegerWideningViableForSlice() local
2142 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViableForSlice()
2159 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice() local
2160 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViableForSlice()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp725 auto ITy = IVSize == 32 ? CGM.Int32Ty : CGM.Int64Ty; in createForStaticInitFunction() local
726 auto PtrTy = llvm::PointerType::getUnqual(ITy); in createForStaticInitFunction()
735 ITy, // incr in createForStaticInitFunction()
736 ITy // chunk in createForStaticInitFunction()
751 auto ITy = IVSize == 32 ? CGM.Int32Ty : CGM.Int64Ty; in createDispatchInitFunction() local
755 ITy, // lower in createDispatchInitFunction()
756 ITy, // upper in createDispatchInitFunction()
757 ITy, // stride in createDispatchInitFunction()
758 ITy // chunk in createDispatchInitFunction()
773 auto ITy = IVSize == 32 ? CGM.Int32Ty : CGM.Int64Ty; in createDispatchNextFunction() local
[all …]
DCGAtomic.cpp928 llvm::Type *ITy = in EmitAtomicExpr() local
932 Ptr, ITy->getPointerTo(Ptr->getType()->getPointerAddressSpace())); in EmitAtomicExpr()
933 if (Val1) Val1 = Builder.CreateBitCast(Val1, ITy->getPointerTo()); in EmitAtomicExpr()
934 if (Val2) Val2 = Builder.CreateBitCast(Val2, ITy->getPointerTo()); in EmitAtomicExpr()
936 Dest = Builder.CreateBitCast(Dest, ITy->getPointerTo()); in EmitAtomicExpr()
DCGBuiltin.cpp1122 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() local
1124 Ptr = Builder.CreateBitCast(Ptr, ITy->getPointerTo()); in EmitBuiltinExpr()
1126 Builder.CreateStore(llvm::Constant::getNullValue(ITy), Ptr); in EmitBuiltinExpr()
/external/llvm/lib/IR/
DValueTypes.cpp98 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local
99 return ITy->getBitWidth(); in getExtendedSizeInBits()
DFunction.cpp783 IntegerType *ITy = cast<IntegerType>(Ty); in DecodeFixedType() local
784 assert(ITy->getBitWidth() % 2 == 0); in DecodeFixedType()
785 return IntegerType::get(Context, ITy->getBitWidth() / 2); in DecodeFixedType()
DCore.cpp2435 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildMalloc() local
2437 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildMalloc()
2439 ITy, unwrap(Ty), AllocSize, in LLVMBuildMalloc()
2446 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildArrayMalloc() local
2448 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildArrayMalloc()
2450 ITy, unwrap(Ty), AllocSize, in LLVMBuildArrayMalloc()
DVerifier.cpp2977 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in VerifyIntrinsicType() local
2978 NewTy = IntegerType::get(ITy->getContext(), 2 * ITy->getBitWidth()); in VerifyIntrinsicType()
2992 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in VerifyIntrinsicType() local
2993 NewTy = IntegerType::get(ITy->getContext(), ITy->getBitWidth() / 2); in VerifyIntrinsicType()
DConstants.cpp231 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in getAllOnesValue() local
233 APInt::getAllOnesValue(ITy->getBitWidth())); in getAllOnesValue()
564 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth()); in get() local
565 Slot = new ConstantInt(ITy, V); in get()
/external/llvm/lib/Target/X86/
DX86InstrArithmetic.td631 /// ITy - This instruction base class takes the type info for the instruction.
639 class ITy<bits<8> opcode, Format f, X86TypeInfo typeinfo, dag outs, dag ins,
657 : ITy<opcode, f, typeinfo, outlist,
692 : ITy<opcode, MRMSrcReg, typeinfo,
709 : ITy<opcode, MRMSrcReg, typeinfo, (outs),
723 : ITy<opcode, MRMSrcMem, typeinfo, outlist,
761 : ITy<opcode, f, typeinfo, outlist,
793 : ITy<opcode, f, typeinfo, outlist,
825 : ITy<opcode, MRMDestMem, typeinfo,
855 : ITy<opcode, f, typeinfo,
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp360 auto *ITy = cast<IntegerType>(NewTy); in combineLoadToNewType() local
362 ConstantPointerNull::get(cast<PointerType>(Ptr->getType())), ITy); in combineLoadToNewType()
364 ConstantExpr::getAdd(NullInt, ConstantInt::get(ITy, 1)); in combineLoadToNewType()
DInstCombineCalls.cpp34 if (IntegerType* ITy = dyn_cast<IntegerType>(Ty)) { in getPromotedType() local
35 if (ITy->getBitWidth() < 32) in getPromotedType()
176 Type *ITy = IntegerType::get(MI->getContext(), Len*8); // n=1 -> i8. in SimplifyMemSet() local
180 Type *NewDstPtrTy = PointerType::get(ITy, DstAddrSp); in SimplifyMemSet()
188 StoreInst *S = Builder->CreateStore(ConstantInt::get(ITy, Fill), Dest, in SimplifyMemSet()
DInstCombineCasts.cpp592 if (IntegerType *ITy = dyn_cast<IntegerType>(CI.getType())) { in transformZExtICmp() local
593 uint32_t BitWidth = ITy->getBitWidth(); in transformZExtICmp()
613 ConstantInt::get(ITy, UnknownBit)); in transformZExtICmp()
617 Result, ConstantInt::get(ITy, UnknownBit.countTrailingZeros())); in transformZExtICmp()
620 Result = Builder->CreateXor(Result, ConstantInt::get(ITy, 1)); in transformZExtICmp()
DInstCombineAndOrXor.cpp107 IntegerType *ITy = dyn_cast<IntegerType>(I.getType()); in SimplifyBSwap() local
153 Function *F = Intrinsic::getDeclaration(M, Intrinsic::bswap, ITy); in SimplifyBSwap()
1636 IntegerType *ITy = dyn_cast<IntegerType>(I.getType()); in MatchBSwap() local
1637 if (!ITy || ITy->getBitWidth() % 16 || in MatchBSwap()
1639 ITy->getBitWidth() > 32*8) in MatchBSwap()
1645 ByteValues.resize(ITy->getBitWidth()/8); in MatchBSwap()
1661 Function *F = Intrinsic::getDeclaration(M, Intrinsic::bswap, ITy); in MatchBSwap()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp191 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in isLargeIntegerTy() local
192 return ITy->getBitWidth() > (Is32Bit ? 32U : 64U); in isLargeIntegerTy()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1577 Type *ITy = Val->getType()->getScalarType(); in getStepVector() local
1584 Indices.push_back(ConstantInt::get(ITy, StartIdx + i)); in getStepVector()
5370 Type *ITy = Val->getType(); in getStepVector() local
5371 assert(!ITy->isVectorTy() && "Val must be a scalar"); in getStepVector()
5372 Constant *C = ConstantInt::get(ITy, StartIdx); in getStepVector()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp357 if (const IntegerType *ITy = dyn_cast<IntegerType>(Ty)) { in printReturnValStr() local
358 size = ITy->getBitWidth(); in printReturnValStr()
DNVPTXISelLowering.cpp896 if (const IntegerType *ITy = dyn_cast<IntegerType>(retTy)) { in getPrototype() local
897 size = ITy->getBitWidth(); in getPrototype()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1679 IntegerType *ITy = in fastEmit_ri_() local
1681 MaterialReg = getRegForValue(ConstantInt::get(ITy, Imm)); in fastEmit_ri_()

12