HomeSort by: relevance | last modified time | path
    Searched defs:AI (Results 1 - 25 of 68) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUArgumentUsageInfo.cpp 150 AMDGPUFunctionArgInfo AI;
151 AI.PrivateSegmentBuffer
153 AI.DispatchPtr = ArgDescriptor::createRegister(AMDGPU::SGPR4_SGPR5);
154 AI.QueuePtr = ArgDescriptor::createRegister(AMDGPU::SGPR6_SGPR7);
158 AI.ImplicitArgPtr = ArgDescriptor::createRegister(AMDGPU::SGPR8_SGPR9);
159 AI.DispatchID = ArgDescriptor::createRegister(AMDGPU::SGPR10_SGPR11);
162 AI.WorkGroupIDX = ArgDescriptor::createRegister(AMDGPU::SGPR12);
163 AI.WorkGroupIDY = ArgDescriptor::createRegister(AMDGPU::SGPR13);
164 AI.WorkGroupIDZ = ArgDescriptor::createRegister(AMDGPU::SGPR14);
167 AI.WorkItemIDX = ArgDescriptor::createRegister(AMDGPU::VGPR31, Mask)
    [all...]
AMDGPULowerKernelArguments.cpp 46 AllocaInst *AI = dyn_cast<AllocaInst>(&*InsPt);
50 if (!AI || !AI->isStaticAlloca())
SIMachineFunctionInfo.cpp 505 yaml::SIArgumentInfo AI;
528 Any |= convertArg(AI.PrivateSegmentBuffer, ArgInfo.PrivateSegmentBuffer);
529 Any |= convertArg(AI.DispatchPtr, ArgInfo.DispatchPtr);
530 Any |= convertArg(AI.QueuePtr, ArgInfo.QueuePtr);
531 Any |= convertArg(AI.KernargSegmentPtr, ArgInfo.KernargSegmentPtr);
532 Any |= convertArg(AI.DispatchID, ArgInfo.DispatchID);
533 Any |= convertArg(AI.FlatScratchInit, ArgInfo.FlatScratchInit);
534 Any |= convertArg(AI.PrivateSegmentSize, ArgInfo.PrivateSegmentSize);
535 Any |= convertArg(AI.WorkGroupIDX, ArgInfo.WorkGroupIDX);
536 Any |= convertArg(AI.WorkGroupIDY, ArgInfo.WorkGroupIDY)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
ASanStackFrameLayout.h 37 AllocaInst *AI; // The actual AllocaInst.
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
MacroPPCallbacks.cpp 30 MacroInfo::param_iterator AI = MI.param_begin(), E = MI.param_end();
31 for (; AI + 1 != E; ++AI) {
32 Name << (*AI)->getName();
37 if ((*AI)->getName() == "__VA_ARGS__")
40 Name << (*AI)->getName();
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
AutoInitRemark.cpp 169 const auto *AI = dyn_cast<AllocaInst>(V);
170 if (!AI)
174 Optional<StringRef> Name = AI->hasName()
175 ? Optional<StringRef>(AI->getName())
177 Optional<TypeSize> TySize = AI->getAllocationSizeInBits(DL);
PromoteMemoryToRegister.cpp 64 bool llvm::isAllocaPromotable(const AllocaInst *AI) {
66 for (const User *U : AI->users()) {
73 if (SI->getOperand(0) == AI)
74 return false; // Don't allow a store OF the AI, only INTO the AI.
126 void AnalyzeAlloca(AllocaInst *AI) {
132 for (User *U : AI->users()) {
154 findDbgUsers(DbgUsers, AI);
288 void ComputeLiveInBlocks(AllocaInst *AI, AllocaInfo &Info,
312 static void removeIntrinsicUsers(AllocaInst *AI) {
975 DenseMap<AllocaInst *, unsigned>::iterator ai = AllocaLookup.find(Dest); local
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/
WebAssemblyInstPrinter.cpp 273 APInt AI = FP.bitcastToAPInt();
274 return std::string(AI.isNegative() ? "-" : "") + "nan:0x" +
275 utohexstr(AI.getZExtValue() &
276 (AI.getBitWidth() == 32 ? INT64_C(0x007fffff)
  /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
ubsan_diag.cc 82 AddressInfo AI;
83 AI.file = internal_strdup(SLoc.getFilename());
84 AI.line = SLoc.getLine();
85 AI.column = SLoc.getColumn();
86 AI.function = internal_strdup(""); // Avoid printing ?? as function name.
87 ReportErrorSummary(ErrorKind, AI, GetSanititizerToolName());
88 AI.Clear();
92 const AddressInfo &AI = Loc.getSymbolizedStack()->info;
93 ReportErrorSummary(ErrorKind, AI, GetSanititizerToolName());
431 const AddressInfo &AI = Stack.get()->info
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/
RemoteJITUtils.cpp 269 addrinfo *AI;
275 if (int EC = getaddrinfo(Host.c_str(), PortStr.c_str(), &Hints, &AI))
284 for (Server = AI; Server != nullptr; Server = Server->ai_next) {
287 if ((SockFD = socket(AI->ai_family, AI->ai_socktype, AI->ai_protocol)) < 0)
296 freeaddrinfo(AI);
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
StackLifetime.cpp 40 StackLifetime::getLiveRange(const AllocaInst *AI) const {
41 const auto IT = AllocaNumbering.find(AI);
50 bool StackLifetime::isAliveAfter(const AllocaInst *AI,
64 return getLiveRange(AI).test(InstNum);
71 const AllocaInst *AI = findAllocaForValue(II.getArgOperand(1), true);
72 if (!AI)
75 auto AllocaSizeInBits = AI->getAllocationSizeInBits(DL);
88 return AI;
104 const AllocaInst *AI = findMatchingAlloca(*II, DL);
105 if (!AI) {
    [all...]
Lint.cpp 219 auto AI = I.arg_begin(), AE = I.arg_end();
220 for (; AI != AE; ++AI) {
221 Value *Actual = *AI;
243 if (AI != BI && (*BI)->getType()->isPointerTy()) {
244 AliasResult Result = AA->alias(*AI, *BI);
444 if (AllocaInst *AI = dyn_cast<AllocaInst>(Base)) {
445 Type *ATy = AI->getAllocatedType();
446 if (!AI->isArrayAllocation() && ATy->isSized())
448 BaseAlign = AI->getAlign()
    [all...]
StackSafetyAnalysis.cpp 146 ConstantRange getStaticAllocaSizeRange(const AllocaInst &AI) {
147 const DataLayout &DL = AI.getModule()->getDataLayout();
148 TypeSize TS = DL.getTypeAllocSize(AI.getAllocatedType());
157 if (AI.isArrayAllocation()) {
158 const auto *C = dyn_cast<ConstantInt>(AI.getArraySize());
202 if (const AllocaInst *AI = dyn_cast<AllocaInst>(&I)) {
203 auto &AS = Allocas.find(AI)->second;
204 O << " " << AI->getName() << "["
205 << getStaticAllocaSizeRange(*AI).getUpper() << "]: " << AS << "\n";
335 const AllocaInst *AI = dyn_cast<AllocaInst>(Ptr)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
StackProtector.cpp 166 bool StackProtector::HasAddressTaken(const Instruction *AI,
169 for (const User *U : AI->users()) {
179 if (AI == cast<StoreInst>(I)->getValueOperand())
185 if (AI == cast<AtomicCmpXchgInst>(I)->getNewValOperand())
189 if (AI == cast<PtrToIntInst>(I)->getOperand(0))
303 if (const AllocaInst *AI = dyn_cast<AllocaInst>(&I)) {
304 if (AI->isArrayAllocation()) {
313 if (const auto *CI = dyn_cast<ConstantInt>(AI->getArraySize())) {
317 Layout.insert(std::make_pair(AI,
323 Layout.insert(std::make_pair(AI,
    [all...]
StackColoring.cpp 1025 const AllocaInst *AI = dyn_cast_or_null<AllocaInst>(MMO->getValue());
1026 if (!AI)
1029 if (!Allocas.count(AI))
1032 MMO->setValue(Allocas[AI]);
1104 const AllocaInst *AI = dyn_cast_or_null<AllocaInst>(V);
1105 if (AI && MergedAllocas.count(AI)) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyFixFunctionBitcasts.cpp 127 Function::arg_iterator AI = Wrapper->arg_begin();
142 for (; AI != AE && PI != PE; ++AI, ++PI) {
143 Type *ArgType = AI->getType();
147 Args.push_back(&*AI);
151 CastInst::CreateBitOrPointerCast(AI, ParamType, "cast");
173 for (; AI != AE; ++AI)
174 Args.push_back(&*AI);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
Inliner.cpp 164 AllocaInst *AI = IFI.StaticAllocas[AllocaNo];
169 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType());
170 if (!ATy || AI->isArrayAllocation())
183 Align Align1 = AI->getAlign();
188 if (AvailableAlloca->getParent() != AI->getParent())
196 // Otherwise, we *can* reuse it, RAUW AI into AvailableAlloca and declare
198 LLVM_DEBUG(dbgs() << " ***MERGED ALLOCA: " << *AI
203 if (auto *L = LocalAsMetadata::getIfExists(AI))
204 if (auto *MDV = MetadataAsValue::getIfExists(AI->getContext(), L))
209 AI->replaceAllUsesWith(AvailableAlloca)
    [all...]
ArgumentPromotion.cpp 255 auto AI = CB.arg_begin();
258 ++I, ++AI, ++ArgNo)
260 Args.push_back(*AI); // Unmodified argument
273 IRB.CreateGEP(STy, *AI, Idxs, (*AI)->getName() + "." + Twine(i));
288 Value *V = *AI;
327 for (; AI != CB.arg_end(); ++AI, ++ArgNo) {
328 Args.push_back(*AI);
MergeFunctions.cpp 580 AllocaInst *AI = dyn_cast_or_null<AllocaInst>(DDI->getAddress());
581 if (AI) {
584 for (User *U : AI->users()) {
589 LLVM_DEBUG(AI->print(dbgs()));
591 PDIRelated.insert(AI);
705 for (Argument &AI : H->args()) {
706 Args.push_back(createCast(Builder, &AI, FFTy->getParamType(i)));
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
SROA.cpp 224 AllocaSlices(const DataLayout &DL, AllocaInst &AI);
303 AllocaInst &AI;
657 SliceBuilder(const DataLayout &DL, AllocaInst &AI, AllocaSlices &AS)
659 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType()).getFixedSize()),
677 << " alloca: " << AS.AI << "\n"
696 << " alloca: " << AS.AI << "\n"
821 << " alloca: " << AS.AI << "\n"
1064 AllocaSlices::AllocaSlices(const DataLayout &DL, AllocaInst &AI)
1067 AI(AI),
    [all...]
  /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
ubsan_diag.cpp 89 AddressInfo AI;
90 AI.file = internal_strdup(SLoc.getFilename());
91 AI.line = SLoc.getLine();
92 AI.column = SLoc.getColumn();
93 AI.function = internal_strdup(""); // Avoid printing ?? as function name.
94 ReportErrorSummary(ErrorKind, AI, GetSanititizerToolName());
95 AI.Clear();
99 const AddressInfo &AI = Loc.getSymbolizedStack()->info;
100 ReportErrorSummary(ErrorKind, AI, GetSanititizerToolName());
442 const AddressInfo &AI = Stack.get()->info
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
PrintPreprocessedOutput.cpp 41 MacroInfo::param_iterator AI = MI.param_begin(), E = MI.param_end();
42 for (; AI+1 != E; ++AI) {
43 OS << (*AI)->getName();
48 if ((*AI)->getName() == "__VA_ARGS__")
51 OS << (*AI)->getName();
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64StackTagging.cpp 286 AllocaInst *AI;
308 bool isInterestingAlloca(const AllocaInst &AI);
311 void tagAlloca(AllocaInst *AI, Instruction *InsertBefore, Value *Ptr,
313 void untagAlloca(AllocaInst *AI, Instruction *InsertBefore, uint64_t Size);
416 bool AArch64StackTagging::isInterestingAlloca(const AllocaInst &AI) {
419 AI.getAllocatedType()->isSized() && AI.isStaticAlloca() &&
421 AI.getAllocationSizeInBits(*DL).getValue() > 0 &&
424 !AI.isUsedWithInAlloca() &&
426 !AI.isSwiftError() &
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86WinEHState.cpp 409 auto AI = Trampoline->arg_begin();
410 Value *Args[5] = {LSDA, &*AI++, &*AI++, &*AI++, &*AI++};
  /src/external/apache2/llvm/dist/llvm/tools/bugpoint/
Miscompilation.cpp 333 AbstractInterpreter *AI = BD.switchToSafeInterpreter();
348 BD.switchToInterpreter(AI);
366 BD.switchToInterpreter(AI);

Completed in 168 milliseconds

1 2 3