/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 286 Type *ElTy = V->getType(); in doPromotion() local 291 (ElTy->isStructTy() ? Type::getInt32Ty(F->getContext()) in doPromotion() 295 if (auto *ElPTy = dyn_cast<PointerType>(ElTy)) in doPromotion() 296 ElTy = ElPTy->getElementType(); in doPromotion() 298 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(II); in doPromotion() 800 Type *ElTy = StructTy->getElementType(i); in isDenselyPacked() local 801 if (!isDenselyPacked(ElTy, DL)) in isDenselyPacked() 805 StartPos += DL.getTypeAllocSizeInBits(ElTy); in isDenselyPacked()
|
D | GlobalOpt.cpp | 509 Type *ElTy = nullptr; in SRAGlobal() local 511 ElTy = STy->getElementType(ElementIdx); in SRAGlobal() 513 ElTy = STy->getElementType(); in SRAGlobal() 514 assert(ElTy); in SRAGlobal() 520 ElTy, false, GlobalVariable::InternalLinkage, In, in SRAGlobal() 545 uint64_t EltSize = DL.getTypeAllocSize(ElTy); in SRAGlobal() 546 Align EltAlign(DL.getABITypeAlignment(ElTy)); in SRAGlobal() 547 uint64_t FragmentSizeInBits = DL.getTypeAllocSizeInBits(ElTy); in SRAGlobal()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Verifier.cpp | 3314 Type *ElTy = in visitGetElementPtrInst() local 3316 Assert(ElTy, "Invalid indices for GEP pointer type!", &GEP); in visitGetElementPtrInst() 3319 GEP.getResultElementType() == ElTy, in visitGetElementPtrInst() 3320 "GEP is not of right type for indices!", &GEP, ElTy); in visitGetElementPtrInst() 3409 Type *ElTy = LI.getType(); in visitLoadInst() local 3412 Assert(ElTy->isSized(), "loading unsized types is not allowed", &LI); in visitLoadInst() 3419 Assert(ElTy->isIntOrPtrTy() || ElTy->isFloatingPointTy(), in visitLoadInst() 3422 ElTy, &LI); in visitLoadInst() 3423 checkAtomicMemAccessSize(ElTy, &LI); in visitLoadInst() 3435 Type *ElTy = PTy->getElementType(); in visitStoreInst() local [all …]
|
D | ConstantFold.cpp | 116 Type *ElTy = PTy->getElementType(); in FoldBitCast() local 117 while (ElTy != DPTy->getElementType()) { in FoldBitCast() 118 if (StructType *STy = dyn_cast<StructType>(ElTy)) { in FoldBitCast() 120 ElTy = STy->getElementType(0); in FoldBitCast() 123 dyn_cast<SequentialType>(ElTy)) { in FoldBitCast() 124 ElTy = STy->getElementType(); in FoldBitCast() 131 if (ElTy == DPTy->getElementType()) in FoldBitCast() 1427 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) { in IdxCompare() argument 1449 if (isMaybeZeroSizedType(ElTy)) in IdxCompare()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | AliasAnalysisEvaluator.cpp | 235 Type *ElTy = cast<PointerType>(Pointer->getType())->getElementType(); in runInternal() local 236 if (ElTy->isSized()) in runInternal() 237 Size = LocationSize::precise(DL.getTypeStoreSize(ElTy)); in runInternal()
|
D | ScalarEvolutionExpander.cpp | 408 Type *ElTy = OriginalElTy; in expandAddToGEP() local 428 if (ElTy->isSized()) { in expandAddToGEP() 429 const SCEV *ElSize = SE.getSizeOfExpr(IntIdxTy, ElTy); in expandAddToGEP() 464 while (StructType *STy = dyn_cast<StructType>(ElTy)) { in expandAddToGEP() 480 ElTy = STy->getTypeAtIndex(ElIdx); in expandAddToGEP() 491 ElTy = STy->getTypeAtIndex(0u); in expandAddToGEP() 497 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy)) in expandAddToGEP() 498 ElTy = ATy->getElementType(); in expandAddToGEP()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUHSAMetadataStreamer.cpp | 190 auto ElTy = VecTy->getElementType(); in getTypeName() local 192 return (Twine(getTypeName(ElTy, Signed)) + Twine(NumElements)).str(); in getTypeName() 636 auto ElTy = VecTy->getElementType(); in getTypeName() local 638 return (Twine(getTypeName(ElTy, Signed)) + Twine(NumElements)).str(); in getTypeName()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 272 Type *ElTy = PtrTy->getElementType()->getVectorElementType(); in operator []() local 274 Type *NewPtrTy = PointerType::get(ElTy, PtrTy->getAddressSpace()); in operator []() 278 CV[I] = Builder.CreateConstGEP1_32(ElTy, CV[0], I, in operator []()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 108 Type *ElTy = GV->getValueType(); in Create() local 109 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy); in Create() 1305 Type *ElTy = GV->getValueType(); in EmitGlobalVariable() local 1306 size_t GVSize = (size_t)getDataLayout().getTypeAllocSize(ElTy); in EmitGlobalVariable()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 644 Type *ElTy = OpTy->getScalarType(); in getCmpOpsType() local 645 return VectorType::get(ElTy, VF); in getCmpOpsType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | IntrinsicsHexagon.td | 170 multiclass Hexagon_custom_circ_ld_Intrinsic<LLVMType ElTy> { 172 [ElTy, llvm_ptr_ty], 176 [ElTy, llvm_ptr_ty], [llvm_ptr_ty, llvm_i32_ty, llvm_ptr_ty], 187 multiclass Hexagon_custom_circ_st_Intrinsic<LLVMType ElTy> { 190 [llvm_ptr_ty, llvm_i32_ty, llvm_i32_ty, ElTy, llvm_ptr_ty], 193 [llvm_ptr_ty], [llvm_ptr_ty, llvm_i32_ty, ElTy, llvm_ptr_ty], 206 class Hexagon_custom_brev_ld_Intrinsic<LLVMType ElTy> 208 [ElTy, llvm_ptr_ty], [llvm_ptr_ty, llvm_i32_ty],
|
D | Intrinsics.td | 141 LLVMType ElTy = elty; 150 LLVMType ElTy = elty; 178 ValueType ElTy = elty.VT;
|
D | IRBuilder.h | 2717 Value *CreatePreserveArrayAccessIndex(Type *ElTy, Value *Base, in CreatePreserveArrayAccessIndex() argument 2732 GetElementPtrInst::getGEPReturnType(ElTy, Base, IdxList); in CreatePreserveArrayAccessIndex() 2766 Value *CreatePreserveStructAccessIndex(Type *ElTy, Value *Base, in CreatePreserveStructAccessIndex() argument 2776 GetElementPtrInst::getGEPReturnType(ElTy, Base, {Zero, GEPIndex}); in CreatePreserveStructAccessIndex()
|
D | Instructions.h | 1053 static Type *getGEPReturnType(Type *ElTy, Value *Ptr, 1055 Type *PtrTy = PointerType::get(checkGEPType(getIndexedType(ElTy, IdxList)),
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonCommonGEP.cpp | 1128 Type *ElTy = cast<PointerType>(InpTy->getScalarType())->getElementType(); in fabricateGEP() local 1129 NewInst = GetElementPtrInst::Create(ElTy, Input, A, "cgep", &*At); in fabricateGEP()
|
D | HexagonISelLowering.cpp | 1851 Type *ElTy = I.getCalledFunction()->getReturnType()->getStructElementType(0); in getTgtMemIntrinsic() local 1852 Info.memVT = MVT::getVT(ElTy); in getTgtMemIntrinsic()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 614 Type *ElTy = cast<PointerType>(FullTy)->getElementType(); in getPointerElementTypes() local 615 return std::make_pair(ElTy, flattenPointerTypes(ElTy)); in getPointerElementTypes() 2604 Type *ElTy = getTypeByID(Record[OpNum++]); in parseConstants() local 2605 if (!ElTy) in parseConstants() 2607 Elts.push_back(ValueList.getConstantFwdRef(Record[OpNum++], ElTy)); in parseConstants()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 950 Type *ElTy = Cond->getType(); in visitSwitchInst() local 957 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
|