Searched refs:isa (Results 151 - 175 of 1051) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/lib/LTO/
H A DUpdateCompilerUsed.cpp104 if (isa<GlobalAlias>(GV)) {
108 if ((isa<Function>(GV) || FuncAliasee) && Libcalls.count(GV.getName())) {
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DAttrIterator.h47 while (!isa<SpecificAttr>(*Current))
52 while (Current != I && !isa<SpecificAttr>(*Current))
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUOpenCLEnqueuedBlockLowering.cpp99 if (!isa<Constant>(U))
131 if (!isa<ConstantExpr>(UU))
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp76 if (!isa<PointerType>(Arg.getType())) {
78 if (isa<SExtInst>(*UI)) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionPrecedenceTracking.cpp142 if (isa<LoadInst>(Insn)) {
147 if (isa<StoreInst>(Insn)) {
H A DVectorUtils.cpp274 if (!isa<ConstantInt>(III->getOperand(2)))
315 if (isa<VectorType>(V->getType()))
336 if (isa<VectorType>(V->getType())) {
337 if (isa<UndefValue>(V))
389 if (TTI && (isa<ZExtInst>(&I) || isa<SExtInst>(&I)) &&
394 if ((isa<TruncInst>(&I) || isa<ICmpInst>(&I)) &&
399 if (TTI && isa<TruncInst>(&I) && TTI->isTypeLegal(I.getType()))
420 if (!isa<Instructio
[all...]
H A DConstantFolding.cpp78 if (Element && isa<UndefValue>(Element)) {
110 if (isa<IntegerType>(DestTy) || DestTy->isFloatingPointTy()) {
129 if (isa<IntegerType>(DestTy))
144 if (isa<ConstantFP>(C) || isa<ConstantInt>(C)) {
150 if (!isa<ConstantDataVector>(C) && !isa<ConstantVector>(C))
193 if (!isa<ConstantVector>(C) && // FIXME: Remove ConstantVector.
194 !isa<ConstantDataVector>(C))
217 if (Src && isa<UndefValu
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLoopExtractor.cpp111 if (!isa<BranchInst>(EntryTI) ||
121 if (!isa<ReturnInst>(ExitBlocks[i]->getTerminator())) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DBDCE.cpp117 if (!isa<Instruction>(U) && !isa<Argument>(U))
H A DEarlyCSE.cpp112 return isa<CastInst>(Inst) || isa<UnaryOperator>(Inst) ||
113 isa<BinaryOperator>(Inst) || isa<GetElementPtrInst>(Inst) ||
114 isa<CmpInst>(Inst) || isa<SelectInst>(Inst) ||
115 isa<ExtractElementInst>(Inst) || isa<InsertElementInst>(Inst) ||
116 isa<ShuffleVectorInst>(Inst) || isa<ExtractValueIns
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp111 !(isa<BinaryOperator>(PHIUser)) || !cheapToScalarize(PHIUser, true))
144 if (pos && !isa<PHINode>(pos)) {
402 if (isa<Constant>(IE->getOperand(2)) && IndexC) {
451 if (isa<UndefValue>(V)) {
475 if (!isa<ConstantInt>(IdxOp))
479 if (isa<UndefValue>(ScalarOp)) { // inserting undef into vector.
488 if (isa<ConstantInt>(EI->getOperand(1))) {
548 BasicBlock *InsertionBlock = (ExtVecOpInst && !isa<PHINode>(ExtVecOpInst))
569 if (InsElt->hasOneUse() && isa<InsertElementInst>(InsElt->user_back()))
579 if (ExtVecOpInst && !isa<PHINod
[all...]
H A DInstCombineLoadStoreAlloca.cpp79 if (isa<BitCastInst>(I) || isa<AddrSpaceCastInst>(I)) {
206 while (isa<AllocaInst>(*It) || isa<DbgInfoIntrinsic>(*It))
225 if (isa<UndefValue>(AI.getArraySize()))
273 if (isa<LoadInst>(Inst)) {
277 } else if (isa<GetElementPtrInst>(Inst) || isa<BitCastInst>(Inst)) {
873 if (isa<Constant>(GEPI->getOperand(Idx)))
941 return (isa<ConstantPointerNul
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp227 return isa<FunctionDecl>(cast<DeclRefExpr>(E)->getDecl())
255 if (isa<ObjCPropertyRefExpr>(Op))
445 if (isa<CXXMethodDecl>(D) && cast<CXXMethodDecl>(D)->isInstance())
452 islvalue = isa<VarDecl>(D) || isa<FieldDecl>(D) ||
453 isa<IndirectFieldDecl>(D) ||
454 isa<BindingDecl>(D) ||
456 (isa<FunctionDecl>(D) || isa<MSPropertyDecl>(D) ||
457 isa<FunctionTemplateDec
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp129 if (isa<CoroSuspendRetconInst>(I)) {
147 if (isa<AnyCoroSuspendInst>(I)) {
647 return isa<AllocaInst>(CurrentValue)
689 } else if (isa<PHINode>(CurrentValue)) {
813 for (BasicBlock::iterator I = DestBB->begin(); isa<PHINode>(I); ++I) {
942 return isa<CastInst>(&V) || isa<GetElementPtrInst>(&V) ||
943 isa<BinaryOperator>(&V) || isa<CmpInst>(&V) || isa<SelectIns
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp119 for (; isa<PHINode>(I); ++I) {
260 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child))
279 if (isa<ConstantTokenNone>(ChildUnwindDestToken)) {
300 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) {
320 if (isa<Instruction>(ChildUnwindDestToken) &&
346 if (isa<CatchPadInst>(ExitedPad))
414 if (isa<CatchPadInst>(AncestorPad))
491 (!isa<InvokeIns
[all...]
/freebsd-11-stable/sys/x86/isa/
H A Disa.c73 #include <isa/isavar.h>
74 #include <isa/isa_common.h>
241 * On this platform, isa can also attach to the legacy bus.
243 DRIVER_MODULE(isa, legacy, isa_driver, isa_devclass, 0, 0);
248 DRIVER_MODULE(isa, xenpv, isa_driver, isa_devclass, 0, 0);
/freebsd-11-stable/sys/dev/sound/isa/
H A Dsndbuf_dma.c33 #include <isa/isavar.h>
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp49 if (declRef && isa<VarDecl>(declRef->getDecl())) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSizeofPointer.cpp61 if (!isa<DeclRefExpr>(ArgEx->IgnoreParens()))
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIChecker.cpp36 if (!isa<TypedRegion>(MR) || (ER && !isa<TypedRegion>(ER->getSuperRegion())))
66 if (!isa<TypedRegion>(MR) || (ER && !isa<TypedRegion>(ER->getSuperRegion())))
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DIssueHash.cpp42 if (!isa<CXXConstructorDecl>(Target) && !isa<CXXDestructorDecl>(Target) &&
43 !isa<CXXConversionDecl>(Target))
60 if (!TargetT || !isa<CXXMethodDecl>(Target))
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCInstKind.h115 return isa<InvokeInst>(V) ? ARCInstKind::CallOrUser : ARCInstKind::User;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-diff/
H A DDiffConsumer.h59 : L(L), R(R), Differences(false), IsFunction(isa<Function>(L)) {}
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyVariableDumper.cpp58 if (isa<PDBSymbolTypeEnum>(*VarType))
186 } else if (isa<PDBSymbolTypeArray>(PointeeType)) {
204 if (isa<PDBSymbolTypeFunctionSig>(PointeeType) ||
205 isa<PDBSymbolTypeArray>(PointeeType)) {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DUser.h176 assert((!isa<Constant>((const Value*)this) ||
177 isa<GlobalValue>((const Value*)this)) &&
305 // Methods for support type inquiry through isa, cast, and dyn_cast:
307 return isa<Instruction>(V) || isa<Constant>(V);

Completed in 147 milliseconds

1234567891011>>