Searched refs:PtrArg (Results 1 – 9 of 9) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInline.cpp | 128 for (Value *PtrArg : CS.args()) { in getInlineThreshold() 129 Type *Ty = PtrArg->getType(); in getInlineThreshold() 133 PtrArg = GetUnderlyingObject(PtrArg, DL); in getInlineThreshold() 134 if (const AllocaInst *AI = dyn_cast<AllocaInst>(PtrArg)) { in getInlineThreshold()
|
D | AMDGPULibCalls.cpp | 603 auto PtrArg = CI->getArgOperand(PtrArgLoc); in fold_read_write_pipe() local 604 unsigned PtrArgAS = PtrArg->getType()->getPointerAddressSpace(); in fold_read_write_pipe() 620 auto *BCast = B.CreatePointerCast(PtrArg, PtrTy); in fold_read_write_pipe()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 878 for (Argument *PtrArg : PointerArgs) { in promoteArguments() 879 Type *AgTy = cast<PointerType>(PtrArg->getType())->getElementType(); in promoteArguments() 883 if (PtrArg->hasStructRetAttr()) { in promoteArguments() 884 unsigned ArgNo = PtrArg->getArgNo(); in promoteArguments() 899 PtrArg->hasByValAttr() && in promoteArguments() 900 (isDenselyPacked(AgTy, DL) || !canPaddingBeAccessed(PtrArg)); in promoteArguments() 905 << PtrArg->getName() in promoteArguments() 925 ByValArgsToTransform.insert(PtrArg); in promoteArguments() 937 if (EltTy == PtrArg->getType()) { in promoteArguments() 948 if (isSafeToPromoteArgument(PtrArg, PtrArg->hasByValOrInAllocaAttr(), AAR, in promoteArguments() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 285 for (Argument *PtrArg : PointerArgs) { in PromoteArguments() 286 Type *AgTy = cast<PointerType>(PtrArg->getType())->getElementType(); in PromoteArguments() 290 if (PtrArg->hasStructRetAttr()) { in PromoteArguments() 291 unsigned ArgNo = PtrArg->getArgNo(); in PromoteArguments() 311 PtrArg->hasByValAttr() && in PromoteArguments() 312 (isDenselyPacked(AgTy, DL) || !canPaddingBeAccessed(PtrArg)); in PromoteArguments() 317 << PtrArg->getName() << "' because it would require adding more" in PromoteArguments() 335 ByValArgsToTransform.insert(PtrArg); in PromoteArguments() 347 if (EltTy == PtrArg->getType()) { in PromoteArguments() 358 if (isSafeToPromoteArgument(PtrArg, PtrArg->hasByValOrInAllocaAttr(), AAR, in PromoteArguments() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 157 Argument *PtrArg = PointerArgs[i].first; in PromoteArguments() local 158 Type *AgTy = cast<PointerType>(PtrArg->getType())->getElementType(); in PromoteArguments() 166 << PtrArg->getName() << "' because it would require adding more" in PromoteArguments() 184 ByValArgsToTransform.insert(PtrArg); in PromoteArguments() 196 if (STy->getElementType(i) == PtrArg->getType()) { in PromoteArguments() 207 if (isSafeToPromoteArgument(PtrArg, isByVal)) in PromoteArguments() 208 ArgsToPromote.insert(PtrArg); in PromoteArguments()
|
/external/llvm/lib/Analysis/ |
D | InlineCost.cpp | 1296 Value *PtrArg = *CAI; in analyzeCall() local 1297 if (ConstantInt *C = stripAndComputeInBoundsConstantOffsets(PtrArg)) { in analyzeCall() 1298 ConstantOffsetPtrs[&*FAI] = std::make_pair(PtrArg, C->getValue()); in analyzeCall() 1301 if (isa<AllocaInst>(PtrArg)) { in analyzeCall() 1302 SROAArgValues[&*FAI] = PtrArg; in analyzeCall() 1303 SROAArgCosts[PtrArg] = 0; in analyzeCall()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | InlineCost.cpp | 1761 Value *PtrArg = *CAI; in analyzeCall() local 1762 if (ConstantInt *C = stripAndComputeInBoundsConstantOffsets(PtrArg)) { in analyzeCall() 1763 ConstantOffsetPtrs[&*FAI] = std::make_pair(PtrArg, C->getValue()); in analyzeCall() 1766 if (isa<AllocaInst>(PtrArg)) { in analyzeCall() 1767 SROAArgValues[&*FAI] = PtrArg; in analyzeCall() 1768 SROAArgCosts[PtrArg] = 0; in analyzeCall()
|
/external/llvm/lib/Transforms/Utils/ |
D | Evaluator.cpp | 400 Value *PtrArg = getVal(II->getArgOperand(1)); in EvaluateBlock() local 401 Value *Ptr = PtrArg->stripPointerCasts(); in EvaluateBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | Evaluator.cpp | 502 Value *PtrArg = getVal(II->getArgOperand(1)); in EvaluateBlock() local 503 Value *Ptr = PtrArg->stripPointerCasts(); in EvaluateBlock()
|