Searched refs:const_cast (Results 1 - 25 of 110) sorted by relevance

12345

/freebsd-10.3-release/contrib/libstdc++/config/os/aix/
H A Datomicity.h51 { return ::fetch_and_add(const_cast<atomic_p>(__mem), __val); }
56 { (void) ::fetch_and_add(const_cast<atomic_p>(__mem), __val); }
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DParentMap.h44 return getParent(const_cast<Stmt*>(S));
48 return getParentIgnoreParens(const_cast<Stmt*>(S));
52 return getParentIgnoreParenCasts(const_cast<Stmt*>(S));
62 return isConsumedExpr(const_cast<Expr*>(E));
H A DDeclLookups.h72 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
81 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
91 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
99 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
H A DAPValue.h206 return const_cast<APValue*>(this)->getInt();
214 return const_cast<APValue*>(this)->getFloat();
222 return const_cast<APValue*>(this)->getComplexIntReal();
230 return const_cast<APValue*>(this)->getComplexIntImag();
238 return const_cast<APValue*>(this)->getComplexFloatReal();
246 return const_cast<APValue*>(this)->getComplexFloatImag();
252 return const_cast<APValue*>(this)->getLValueOffset();
265 return const_cast<APValue*>(this)->getVectorElt(I);
278 return const_cast<APValue*>(this)->getArrayInitializedElt(I);
289 return const_cast<APValu
[all...]
H A DRedeclarable.h72 return const_cast<decl_type *>(
167 return redecl_iterator(const_cast<decl_type*>(
194 return cast<decl_type>(getPrimaryMergedDecl(const_cast<decl_type*>(D)));
203 return cast<decl_type>(getPrimaryMergedDecl(const_cast<decl_type*>(D)));
H A DDeclBase.h388 return const_cast<Decl*>(this)->getDeclContext();
398 return const_cast<Decl*>(this)->getNonClosureContext();
403 return const_cast<Decl*>(this)->getTranslationUnitDecl();
435 return const_cast<AttrVec&>(const_cast<const Decl*>(this)->getAttrs());
676 return const_cast<Decl*>(this)->getLexicalDeclContext();
701 return const_cast<DeclContext*>(
702 const_cast<const Decl*>(this)->getParentFunctionOrMethod());
708 return const_cast<Decl*>(this)->getCanonicalDecl();
775 return redecl_iterator(const_cast<Dec
[all...]
H A DDeclGroup.h92 return const_cast<DeclGroupRef*>(this)->getSingleDecl();
100 return const_cast<DeclGroupRef*>(this)->getDeclGroup();
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Analysis/
H A DCFGStmtMap.h47 return const_cast<CFGStmtMap*>(this)->getBlock(const_cast<Stmt*>(S));
/freebsd-10.3-release/contrib/libstdc++/config/os/irix/
H A Datomicity.h37 { return (_Atomic_word) test_then_add((unsigned long*) const_cast<_Atomic_word*>(__mem), __val); }
/freebsd-10.3-release/contrib/libstdc++/include/c_std/
H A Dstd_cstring.h102 { return memchr(const_cast<const void*>(__p), __c, __n); }
108 { return __builtin_strchr(const_cast<const char*>(__s1), __n); }
114 { return __builtin_strpbrk(const_cast<const char*>(__s1), __s2); }
120 { return __builtin_strrchr(const_cast<const char*>(__s1), __n); }
126 { return __builtin_strstr(const_cast<const char*>(__s1), __s2); }
H A Dstd_cwchar.h212 { return wcschr(const_cast<const wchar_t*>(__p), __c); }
218 { return wcspbrk(const_cast<const wchar_t*>(__s1), __s2); }
224 { return wcsrchr(const_cast<const wchar_t*>(__p), __c); }
230 { return wcsstr(const_cast<const wchar_t*>(__s1), __s2); }
236 { return wmemchr(const_cast<const wchar_t*>(__p), __c, __n); }
/freebsd-10.3-release/contrib/llvm/lib/Support/Windows/
H A DThreadLocal.inc44 int errorcode = TlsSetValue(*tls, const_cast<void*>(d));
/freebsd-10.3-release/contrib/llvm/include/llvm/Support/
H A DPointerLikeTypeTraits.h57 return NonConst::getAsVoidPointer(const_cast<T*>(P));
60 return NonConst::getFromVoidPointer(const_cast<void*>(P));
H A DCBindingWrapping.h25 return reinterpret_cast<ref>(const_cast<ty*>(P)); \
/freebsd-10.3-release/contrib/llvm/include/llvm/IR/
H A DIntrinsicInst.h103 const_cast<Value*>(getArgOperand(1)))->getZExtValue();
120 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0)); }
122 Value *getLength() const { return const_cast<Value*>(getArgOperand(2)); }
124 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(3)));
132 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(4)));
194 Value *getValue() const { return const_cast<Value*>(getArgOperand(1)); }
217 Value *getRawSource() const { return const_cast<Value*>(getArgOperand(1)); }
282 Value *getArgList() const { return const_cast<Value*>(getArgOperand(0)); }
296 Value *getArgList() const { return const_cast<Value*>(getArgOperand(0)); }
310 Value *getDest() const { return const_cast<Valu
[all...]
H A DBasicBlock.h132 return const_cast<BasicBlock*>(this)->getFirstNonPHI();
139 return const_cast<BasicBlock*>(this)->getFirstNonPHIOrDbg();
146 return const_cast<BasicBlock*>(this)->getFirstNonPHIOrDbgOrLifetime();
155 return const_cast<BasicBlock*>(this)->getFirstInsertionPt();
177 return const_cast<BasicBlock*>(this)->getSinglePredecessor();
187 return const_cast<BasicBlock*>(this)->getUniquePredecessor();
H A DGlobalAlias.h71 return const_cast<GlobalAlias *>(this)->getAliasedGlobal();
81 return const_cast<GlobalAlias *>(this)->resolveAliasedGlobal(stopOnWeak);
H A DValue.h272 return const_cast<Value*>(this)->stripPointerCasts();
281 return const_cast<Value*>(this)->stripPointerCastsNoFollowAliases();
290 return const_cast<Value*>(this)->stripInBoundsConstantOffsets();
305 return const_cast<Value *>(this)
315 return const_cast<Value*>(this)->stripInBoundsOffsets();
330 return const_cast<Value*>(this)->DoPHITranslation(CurBB, PredBB);
460 return reinterpret_cast<LLVMValueRef*>(const_cast<Value**>(Vals));
H A DOperandTraits.h128 return OperandTraits<CLASS>::op_begin(const_cast<CLASS*>(this)); \
134 return OperandTraits<CLASS>::op_end(const_cast<CLASS*>(this)); \
140 OperandTraits<CLASS>::op_begin(const_cast<CLASS*>(this))[i_nocapture].get()); \
/freebsd-10.3-release/contrib/llvm/tools/lli/ChildTarget/Unix/
H A DChildTarget.inc131 sys_icache_invalidate(const_cast<void *>(Addr), Len);
155 __clear_cache(const_cast<char *>(Start), const_cast<char *>(End));
158 cacheflush(const_cast<char *>(Start), Len, BCACHE);
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowValues.h108 return const_cast<DataflowValues*>(this)->getBlockData(B);
125 return const_cast<DataflowValues*>(this)->getStmtData(S);
150 return const_cast<DataflowValues*>(this)->getStmtDataMap();
/freebsd-10.3-release/contrib/llvm/include/llvm/Analysis/
H A DValueTracking.h125 return GetPointerBaseWithConstantOffset(const_cast<Value*>(Ptr), Offset,TD);
151 return GetUnderlyingObject(const_cast<Value *>(V), TD, MaxLookup);
/freebsd-10.3-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXTargetMachine.h66 return const_cast<NVPTXTargetLowering *>(&TLInfo);
79 return const_cast<ManagedStringPool *>(&ManagedStrPool);
/freebsd-10.3-release/contrib/llvm/lib/Support/Unix/
H A DMemory.inc315 sys_icache_invalidate(const_cast<void *>(Addr), Len);
339 __clear_cache(const_cast<char *>(Start), const_cast<char *>(End));
346 long LStart = reinterpret_cast<long>(const_cast<char *>(Start));
347 long LEnd = reinterpret_cast<long>(const_cast<char *>(End));
350 cacheflush(const_cast<char *>(Start), Len, BCACHE);
/freebsd-10.3-release/contrib/libstdc++/include/debug/
H A Dsafe_base.h95 { this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); }

Completed in 157 milliseconds

12345