Home
last modified time | relevance | path

Searched refs:IntTy (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOpDescriptor.cpp16 if (auto *IntTy = dyn_cast<IntegerType>(T)) { in makeConstantsWithType() local
17 uint64_t W = IntTy->getBitWidth(); in makeConstantsWithType()
18 Cs.push_back(ConstantInt::get(IntTy, APInt::getMaxValue(W))); in makeConstantsWithType()
19 Cs.push_back(ConstantInt::get(IntTy, APInt::getMinValue(W))); in makeConstantsWithType()
20 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType()
21 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMinValue(W))); in makeConstantsWithType()
22 Cs.push_back(ConstantInt::get(IntTy, APInt::getOneBitSet(W, W / 2))); in makeConstantsWithType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBoolRetToInt.cpp93 Type *IntTy = ST->isPPC64() ? Type::getInt64Ty(V->getContext()) in translate() local
97 return ConstantExpr::getZExt(C, IntTy); in translate()
101 Value *Zero = Constant::getNullValue(IntTy); in translate()
103 PHINode::Create(IntTy, P->getNumIncomingValues(), P->getName(), P); in translate()
115 return new ZExtInst(V, IntTy, "", InstPt); in translate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSROA.cpp2099 Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits); in isIntegerWideningViable() local
2100 if (!canConvertValue(DL, AllocaTy, IntTy) || in isIntegerWideningViable()
2101 !canConvertValue(DL, IntTy, AllocaTy)) in isIntegerWideningViable()
2131 IntegerType *IntTy = cast<IntegerType>(V->getType()); in extractInteger() local
2132 assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) && in extractInteger()
2136 ShAmt = 8 * (DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset); in extractInteger()
2141 assert(Ty->getBitWidth() <= IntTy->getBitWidth() && in extractInteger()
2143 if (Ty != IntTy) { in extractInteger()
2152 IntegerType *IntTy = cast<IntegerType>(Old->getType()); in insertInteger() local
2154 assert(Ty->getBitWidth() <= IntTy->getBitWidth() && in insertInteger()
[all …]
DLoopStrengthReduce.cpp3175 Type *IntTy = SE.getEffectiveSCEVType(IVTy); in GenerateIVChain() local
3188 const SCEV *IncExpr = SE.getNoopOrSignExtend(Inc.IncExpr, IntTy); in GenerateIVChain()
3195 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain()
3870 Type *IntTy = Base.getType(); in GenerateICmpZeroScales() local
3871 if (!IntTy) return; in GenerateICmpZeroScales()
3872 if (SE.getTypeSizeInBits(IntTy) > 64) return; in GenerateICmpZeroScales()
3894 if (!IntTy->isPointerTy() && in GenerateICmpZeroScales()
3895 !ConstantInt::isValueValidForType(IntTy, NewBaseOffset)) in GenerateICmpZeroScales()
3906 if (!IntTy->isPointerTy() && in GenerateICmpZeroScales()
3907 !ConstantInt::isValueValidForType(IntTy, Offset)) in GenerateICmpZeroScales()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp76 Type *IntTy = DL.getIntPtrType(Ptr->getType()); in getBoundsCheckCond() local
77 Value *NeededSizeVal = ConstantInt::get(IntTy, NeededSize); in getBoundsCheckCond()
102 Value *Cmp1 = IRB.CreateICmpSLT(Offset, ConstantInt::get(IntTy, 0)); in getBoundsCheckCond()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDataLayout.cpp778 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits); in getIntPtrType() local
780 return VectorType::get(IntTy, VecTy->getNumElements()); in getIntPtrType()
781 return IntTy; in getIntPtrType()
800 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits); in getIndexType() local
802 return VectorType::get(IntTy, VecTy->getNumElements()); in getIndexType()
803 return IntTy; in getIndexType()
DAsmWriter.cpp1615 template <class IntTy>
1616 void printInt(StringRef Name, IntTy Int, bool ShouldSkipZero = true);
1620 template <class IntTy, class Stringifier>
1621 void printDwarfEnum(StringRef Name, IntTy Value, Stringifier toString,
1684 template <class IntTy>
1685 void MDFieldPrinter::printInt(StringRef Name, IntTy Int, bool ShouldSkipZero) { in printInt()
1754 template <class IntTy, class Stringifier>
1755 void MDFieldPrinter::printDwarfEnum(StringRef Name, IntTy Value, in printDwarfEnum()
DCore.cpp1298 LLVMValueRef LLVMConstInt(LLVMTypeRef IntTy, unsigned long long N, in LLVMConstInt() argument
1300 return wrap(ConstantInt::get(unwrap<IntegerType>(IntTy), N, SignExtend != 0)); in LLVMConstInt()
1303 LLVMValueRef LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy, in LLVMConstIntOfArbitraryPrecision() argument
1306 IntegerType *Ty = unwrap<IntegerType>(IntTy); in LLVMConstIntOfArbitraryPrecision()
1312 LLVMValueRef LLVMConstIntOfString(LLVMTypeRef IntTy, const char Str[], in LLVMConstIntOfString() argument
1314 return wrap(ConstantInt::get(unwrap<IntegerType>(IntTy), StringRef(Str), in LLVMConstIntOfString()
1318 LLVMValueRef LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy, const char Str[], in LLVMConstIntOfStringAndSize() argument
1320 return wrap(ConstantInt::get(unwrap<IntegerType>(IntTy), StringRef(Str, SLen), in LLVMConstIntOfStringAndSize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryBuiltins.cpp838 IntTy = cast<IntegerType>(DL.getIndexType(V->getType())); in compute()
839 Zero = ConstantInt::get(IntTy, 0); in compute()
942 FirstArg = Builder.CreateZExtOrTrunc(FirstArg, IntTy); in visitCallSite()
947 SecondArg = Builder.CreateZExtOrTrunc(SecondArg, IntTy); in visitCallSite()
992 PHINode *SizePHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode()
993 PHINode *OffsetPHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode()
1004 OffsetPHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode()
1007 SizePHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode()
DScalarEvolutionExpander.cpp1053 Type *ExpandTy, Type *IntTy, in expandIVInc() argument
1064 IncV = expandAddToGEP(SE.getSCEV(StepV), GEPPtrTy, IntTy, PN); in expandIVInc()
1162 Type *IntTy, in getAddRecExprPHILiterally() argument
1284 Value *StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in getAddRecExprPHILiterally()
1316 Value *IncV = expandIVInc(PN, StepV, L, ExpandTy, IntTy, useSubtract); in getAddRecExprPHILiterally()
1339 Type *IntTy = SE.getEffectiveSCEVType(STy); in expandAddRecExprLiterally() local
1384 Type *ExpandTy = PostLoopScale ? IntTy : STy; in expandAddRecExprLiterally()
1395 IntTy, TruncTy, InvertStep); in expandAddRecExprLiterally()
1430 StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in expandAddRecExprLiterally()
1432 Result = expandIVInc(PN, StepV, L, ExpandTy, IntTy, useSubtract); in expandAddRecExprLiterally()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineFunction.cpp1073 Type *IntTy = IntegerType::get(A->getContext(), StoreSize*8); in CanShareConstantPoolEntry() local
1081 const_cast<Constant *>(A), IntTy, DL); in CanShareConstantPoolEntry()
1082 else if (A->getType() != IntTy) in CanShareConstantPoolEntry()
1084 IntTy, DL); in CanShareConstantPoolEntry()
1087 const_cast<Constant *>(B), IntTy, DL); in CanShareConstantPoolEntry()
1088 else if (B->getType() != IntTy) in CanShareConstantPoolEntry()
1090 IntTy, DL); in CanShareConstantPoolEntry()
DValueTypes.cpp24 EVT IntTy = getIntegerVT(Context, getScalarSizeInBits()); in changeExtendedVectorElementTypeToInteger() local
25 return getVectorVT(Context, IntTy, getVectorNumElements()); in changeExtendedVectorElementTypeToInteger()
DAtomicExpandPass.cpp507 IntegerType *IntTy = Builder.getIntNTy(OrigTy->getPrimitiveSizeInBits()); in createCmpXchgInstFun() local
509 Addr = Builder.CreateBitCast(Addr, IntTy->getPointerTo(AS)); in createCmpXchgInstFun()
510 NewVal = Builder.CreateBitCast(NewVal, IntTy); in createCmpXchgInstFun()
511 Loaded = Builder.CreateBitCast(Loaded, IntTy); in createCmpXchgInstFun()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DCOFF.h188 template <typename IntTy>
190 IntTy Data;
568 template <typename IntTy>
570 IntTy StartAddressOfRawData;
571 IntTy EndAddressOfRawData;
572 IntTy AddressOfIndex;
573 IntTy AddressOfCallBacks;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DValueTypes.h104 MVT IntTy = MVT::getIntegerVT(BitWidth); in changeVectorElementTypeToInteger() local
105 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements(), in changeVectorElementTypeToInteger()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h402 Type *IntTy,
406 Type *ExpandTy, Type *IntTy, bool useSubtract);
DMemoryBuiltins.h295 IntegerType *IntTy; variable
DScalarEvolution.h594 const SCEV *getSizeOfExpr(Type *IntTy, Type *AllocTy);
597 const SCEV *getOffsetOfExpr(Type *IntTy, StructType *STy, unsigned FieldNo);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DDebugify.cpp144 auto *IntTy = Type::getInt32Ty(Ctx); in applyDebugifyMetadata() local
147 Ctx, ValueAsMetadata::getConstant(ConstantInt::get(IntTy, N)))); in applyDebugifyMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DSIMCCodeEmitter.cpp97 template <typename IntTy>
98 static uint32_t getIntInlineImmEncoding(IntTy Imm) { in getIntInlineImmEncoding()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp231 const IntegerType *IntTy = dyn_cast<IntegerType>(T); in needsPromotionToI32() local
232 if (IntTy && IntTy->getBitWidth() > 1 && IntTy->getBitWidth() <= 16) in needsPromotionToI32()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp545 StringRef Name, IntegerType *IntTy,
1284 StringRef Name, IntegerType *IntTy, in importConstant() argument
1287 return ConstantInt::get(IntTy, Storage); in importConstant()
1291 C = ConstantExpr::getPtrToInt(C, IntTy); in importConstant()
1304 unsigned AbsWidth = IntTy->getBitWidth(); in importConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h1876 LLVMValueRef LLVMConstInt(LLVMTypeRef IntTy, unsigned long long N,
1884 LLVMValueRef LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy,
1897 LLVMValueRef LLVMConstIntOfString(LLVMTypeRef IntTy, const char *Text,
1906 LLVMValueRef LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy, const char *Text,
/third_party/rust/crates/syn/tests/common/
Deq.rs66 use rustc_ast::ast::IntTy;
498 spanless_eq_enum!(IntTy; Isize I8 I16 I32 I64 I128);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIRBuilder.h2697 auto *IntTy = cast<IntegerType>(From->getType()); in CreateExtractInteger() local
2699 DL.getTypeStoreSize(IntTy) && in CreateExtractInteger()
2704 ShAmt = 8 * (DL.getTypeStoreSize(IntTy) - in CreateExtractInteger()
2709 assert(ExtractedTy->getBitWidth() <= IntTy->getBitWidth() && in CreateExtractInteger()
2711 if (ExtractedTy != IntTy) { in CreateExtractInteger()

12